aboutsummaryrefslogtreecommitdiff
path: root/vim/config/search.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/config/search.vim')
-rw-r--r--vim/config/search.vim23
1 files changed, 0 insertions, 23 deletions
diff --git a/vim/config/search.vim b/vim/config/search.vim
deleted file mode 100644
index fc861801..00000000
--- a/vim/config/search.vim
+++ /dev/null
@@ -1,23 +0,0 @@
-" Some special settings for searching, if available
-if has('extra_search')
-
- " Searching as I enter my pattern, \i toggles this
- set incsearch
- nnoremap <silent>
- \ <Leader>i
- \ :<C-U>set incsearch! incsearch?<CR>
-
- " Highlight search results, \h toggles this
- set hlsearch
- nnoremap <silent>
- \ <Leader>h
- \ :<C-U>set hlsearch! 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
- nnoremap <silent>
- \ <C-L>
- \ :<C-U>nohlsearch<CR><C-L>
-
-endif