aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 15d86763..5b47d98f 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -165,7 +165,8 @@ if has('windows')
endif
" Stack normal/visual/select Ctrl-L to clear search highlight
-noremap <silent> <C-L> :<C-U>nohlsearch<CR><C-L>
+nnoremap <silent> <C-L> :<C-U>nohlsearch<CR><C-L>
+vnoremap <silent> <C-L> :<C-U>nohlsearch<CR>gv<C-L>
" Stack insert Ctrl-C to undo the escaped insert operation
" Default to not-quite-correct vim-tiny-compatible map if no plugin