diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-23 11:08:48 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-23 11:49:42 +1200 |
commit | ae6952c2d9c9db979dc30358cbd82d625b39808d (patch) | |
tree | 126b647763540a37b32083d419fb8ae3be6ed196 /vim/vimrc | |
parent | Don't reset 'backspace' in .vimrc (diff) | |
download | dotfiles-ae6952c2d9c9db979dc30358cbd82d625b39808d.tar.gz dotfiles-ae6952c2d9c9db979dc30358cbd82d625b39808d.zip |
Reorder .vimrc mappings
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -175,15 +175,15 @@ if has('windows') endif -" Rebind insert Ctrl-C to undo the current insert operation -inoremap <C-C> <C-C>u - " Rebind normal <Space> to scroll down a page nnoremap <Space> <C-F> " Rebind normal & to preserve substitution flags nnoremap <silent> & :<C-U>&&<CR> +" Stack insert Ctrl-C to undo the escaped insert operation +inoremap <C-C> <C-C>u + " Stack normal Ctrl-L to clear search highlighting before redraw nnoremap <silent> <C-L> :<C-U>nohlsearch<CR><C-L> @@ -193,7 +193,7 @@ nnoremap ]a :<C-U>next<CR> " Cycle through buffers nnoremap [b :<C-U>bprevious<CR> nnoremap ]b :<C-U>bnext<CR> -" Cycle through quicklist items (more often :helpgrep results) +" Cycle through quicklist/:helpgrep items nnoremap [c :<C-U>cprevious<CR> nnoremap ]c :<C-U>cnext<CR> " Cycle through location list items |