From 1dca40d0f4ca6b481694a3214f084e1d9fd76ab2 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 17 Mar 2014 10:39:04 +1300 Subject: Group search settings lines properly --- vim/vimrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'vim') diff --git a/vim/vimrc b/vim/vimrc index 79e0577e..50d36e91 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -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 h :set hlsearch! nnoremap i :set incsearch! + " Highlight search results, \h toggles this + set hlsearch + nnoremap h :set hlsearch! + " 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 -- cgit v1.2.3