- Notifications
You must be signed in to change notification settings - Fork7
searchant.vim is obsoleted by vim-searchhi
License
timakro/vim-searchant
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
You should usevim-searchhi instead of searchant.vim. It fixes a bunch of longstanding bugs of searchant.vim and is overall more polished.
Vim plugin for improved search highlighting
When it comes to searching Vim is one of the editors which lacks the featureof highlighting the current search result. Searchant wraps the hacky way toachieve this in Vim into a plugin with a clean interface. Additionally itprovides a key mapping to stop the search highlighting.
View the documentation in Vim with:help searchant
oron the web.
- Vim 7.0+
It is recommended to install this plugin using a plugin manager likepathogen.vim,Vundle.vim orvim-plug.
Alternatively you can just drop theplugin
anddoc
folders into your~/.vim
directory. Don't forget to run:helptags ~/.vim/doc
to generate thehelp tags after a manual installation.
If you are usingincsearch.vimand you'd likevim-searchant
to play-nicely, you can add the following snippetto hide the searchant highlight:
" Disable Searchant highlight when incsearch.vim highlights also disableautocmdCursorMoved*callSearchantStop()functionSearchantStop() :execute"normal\<Plug>SearchantStop"endfunction
This assumes that you havelet g:incsearch#auto_nohlsearch = 1
in your config.
About
searchant.vim is obsoleted by vim-searchhi