aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-14 20:48:12 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-14 20:48:12 +1200
commitadb42d81e7753e9096810a1685ce16984e596afd (patch)
treec2b551158aa5b29250a8ddafea6195f2331b691b /vim/vimrc
parentefadde49f989a169bb34f1f7024ca661b5ae79cd (diff)
downloaddotfiles-adb42d81e7753e9096810a1685ce16984e596afd.tar.gz
dotfiles-adb42d81e7753e9096810a1685ce16984e596afd.zip
Revert "Remove :nohlsearch from vimrc"
This reverts commit 8640888fdfdee047e4f40df4a1a89510330f1fe4. This is still necessary, and I'm not sure why I thought it wasn't...
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index e76fe85e..93b437d7 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -112,7 +112,8 @@ endif
" Highlight settings for search
if has('extra_search')
- set hlsearch " Highlight completed searches
+ set hlsearch " Highlight completed searches...
+ nohlsearch " ...but clear it on startup or after re-sourcing
set incsearch " Show matches as I type
endif