summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2019-01-18 18:11:30 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2019-01-18 18:12:25 +0000
commitbe3a0a07ceabfdd77a4f5df0987ed38f4d7168b6 (patch)
tree190d88c46384c1646a234efafa3e3978f42e499f
parentEnable spell check, but only on gitcommits (diff)
downloadutil-be3a0a07ceabfdd77a4f5df0987ed38f4d7168b6.tar.bz2
util-be3a0a07ceabfdd77a4f5df0987ed38f4d7168b6.tar.xz
util-be3a0a07ceabfdd77a4f5df0987ed38f4d7168b6.zip
Better loclist jumping keys
-rw-r--r--gvimrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/gvimrc b/gvimrc
index 091d43b..82f306e 100644
--- a/gvimrc
+++ b/gvimrc
@@ -50,9 +50,10 @@ au FileType ebuild map <S-F8> :w<CR>:!ebuild % manifest clean compile<CR>
au FileType ebuild map <S-F9> :w<CR>:!ebuild % manifest clean compile install<CR>
au FileType ebuild map <S-F9> :w<CR>:!ebuild % manifest clean compile test<CR>
au FileType ebuild map <C-S-F10> :w<CR>:!sudo ebuild % merge<CR>
-map <F7> :lnext<CR>
-map <S-F7> :lprev<CR>
au FileType gitcommit setlocal spell
+map <F7> :lfir<CR>zz<CR>k
+map <S-F7> :lnext<CR>zz<CR>k
+map <C-S-F7> :lnext<CR>zz<CR>k
map <F8> :cn<CR>
map <S-F8> :cN<CR>
map <F9> gg=G