aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-07-21 23:23:02 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-07-21 23:23:02 +1200
commit1f5235b5f191a0672d488d679e13cd590f6e7960 (patch)
tree68643fb7e49cb0c7d1867c3a0b561b45af88b0ab /vim
parentObserve VimL convention of two-space indents (diff)
downloaddotfiles-1f5235b5f191a0672d488d679e13cd590f6e7960.tar.gz
dotfiles-1f5235b5f191a0672d488d679e13cd590f6e7960.zip
Make search highlight clearing quiet
Diffstat (limited to 'vim')
-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