diff options
Diffstat (limited to 'vim')
-rw-r--r-- | vim/vimrc | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -255,14 +255,14 @@ set sidescrolloff=16 " Some special settings for searching, if available if has('extra_search') - " Highlight search results, \h toggles this - set hlsearch - " Searching as I enter my pattern, \i toggles this set incsearch - nnoremap <leader>h :set hlsearch!<CR> nnoremap <leader>i :set incsearch!<CR> + " Highlight search results, \h toggles this + set hlsearch + nnoremap <leader>h :set hlsearch!<CR> + " 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 |