aboutsummaryrefslogtreecommitdiff
path: root/vim/config
diff options
context:
space:
mode:
Diffstat (limited to 'vim/config')
-rw-r--r--vim/config/search.vim14
1 files changed, 0 insertions, 14 deletions
diff --git a/vim/config/search.vim b/vim/config/search.vim
index 967146d4..fc861801 100644
--- a/vim/config/search.vim
+++ b/vim/config/search.vim
@@ -20,18 +20,4 @@ if has('extra_search')
\ <C-L>
\ :<C-U>nohlsearch<CR><C-L>
- " Clear search highlighting as soon as I enter insert mode, and restore it
- " once I leave it
- if has('autocmd') && v:version >= 701
- augroup dotfiles_highlight
- autocmd!
- autocmd InsertEnter
- \ *
- \ set nohlsearch
- autocmd InsertLeave
- \ *
- \ set hlsearch
- augroup END
- endif
-
endif