diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-07-21 23:23:02 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-07-21 23:23:02 +1200 |
commit | 1f5235b5f191a0672d488d679e13cd590f6e7960 (patch) | |
tree | 68643fb7e49cb0c7d1867c3a0b561b45af88b0ab /vim | |
parent | Observe VimL convention of two-space indents (diff) | |
download | dotfiles-1f5235b5f191a0672d488d679e13cd590f6e7960.tar.gz dotfiles-1f5235b5f191a0672d488d679e13cd590f6e7960.zip |
Make search highlight clearing quiet
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |