aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index c9cd0ad8..e440d4c7 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -263,7 +263,7 @@ if has('extra_search')
" Pressing ^L will clear highlighting until the next search-related
" operation; quite good because the highlighting gets distracting after
" you've found what you wanted
- nnoremap <C-l> :nohlsearch<CR><C-l>
+ nnoremap <silent> <C-l> :nohlsearch<CR><C-l>
" Clear search highlighting as soon as I enter insert mode, and restore it
" once I leave it