diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2014-03-17 10:39:04 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2014-03-17 10:39:04 +1300 |
commit | 1dca40d0f4ca6b481694a3214f084e1d9fd76ab2 (patch) | |
tree | d5454beaddc0381cca379c6f343a066499483c80 /vim | |
parent | Don't force -H for sudo if -v (diff) | |
download | dotfiles-1dca40d0f4ca6b481694a3214f084e1d9fd76ab2.tar.gz dotfiles-1dca40d0f4ca6b481694a3214f084e1d9fd76ab2.zip |
Group search settings lines properly
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 |