diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-01 23:46:18 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-01 23:46:18 +1200 |
commit | c4d7309460483606505ef557b874d622303b17aa (patch) | |
tree | 8b1801f593731cb896c6f79622344aee851bd56a /vim/vimrc | |
parent | Reorder mappings (diff) | |
download | dotfiles-c4d7309460483606505ef557b874d622303b17aa.tar.gz dotfiles-c4d7309460483606505ef557b874d622303b17aa.zip |
Simplify Ctrl-L Vim map
It can be used in select mode, too.
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -189,11 +189,8 @@ if v:version >= 700 xnoremap <silent> & :&&<CR> endif -" Stack normal/visual Ctrl-L to clear search highlight before redraw -nnoremap <silent> <C-L> :<C-U>nohlsearch<CR><C-L> -if v:version >= 700 - xnoremap <silent> <C-L> :<C-U>nohlsearch<CR>gv<C-L> -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 |