diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-01 23:47:47 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-01 23:47:47 +1200 |
commit | 8dcdf5f8273c0fc38bdb3258eba4a853793666a2 (patch) | |
tree | 5e39329e04df1f2748fc1222769d77384b4ff1c0 | |
parent | Remove unused mappings (diff) | |
download | dotfiles-8dcdf5f8273c0fc38bdb3258eba4a853793666a2.tar.gz dotfiles-8dcdf5f8273c0fc38bdb3258eba4a853793666a2.zip |
Rearrange mappings a little more
-rw-r--r-- | vim/vimrc | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -164,6 +164,12 @@ if has('windows') endif endif +" Stack normal/visual/select Ctrl-L to clear search highlight +noremap <silent> <C-L> :<C-U>nohlsearch<CR><C-L> + +" Stack insert Ctrl-C to undo the escaped insert operation +inoremap <C-C> <C-C>u + " Remap normal J to stay in place while joining lines if &loadplugins nmap J <Plug>FixedJoin @@ -181,12 +187,6 @@ if v:version >= 700 xnoremap <silent> & :&&<CR> endif -" Stack normal/visual/select Ctrl-L to clear search highlight -noremap <silent> <C-L> :<C-U>nohlsearch<CR><C-L> - -" Stack insert Ctrl-C to undo the escaped insert operation -inoremap <C-C> <C-C>u - " Cycle through argument list nnoremap [a :<C-U>previous<CR> nnoremap ]a :<C-U>next<CR> |