sponsor Vim development Vim logo Vim Book Ad

searchant.vim : Vim plugin for improved search highlighting

 script karma  Rating 29/22, Downloaded by 3357  Comments, bugs, improvements  Vim wiki

created by
Tim Schumacher
script type
When it comes to searching vim is one of the editors which lacks the feature of highlighting the current search result. Searchant wraps the hacky way to achieve this in vim into a plugin with a clean interface. Additionally it provides a key mapping to stop the search highlighting.
install details
It is recommended to install this plugin from GitHub https://github.com/timakro/vim-searchant using a plugin manager like pathogen.vim vimscript #2332, Vundle.vim vimscript #3458 or vim-plug vimscript #4828.

Alternatively you can just drop the `plugin` and `doc` folders into your `~/.vim` directory. Don't forget to run `:helptags ~/.vim/doc` to generate the help tags after a manual installation.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-searchant.tar.gz v1.1.0 2019-05-21 7.0 Tim Schumacher Removed g:searchant_current setting
Added toggle functionality (thanks to andykais)
vim-searchant.tar.gz 1.0.7 2019-02-01 7.0 Tim Schumacher Better compatibility with other enhanced search plugins
(namely vim-anzu and vim-asterisk, thanks to qxxxb)
vim-searchant.tar.gz 1.0.6 2016-07-07 7.0 Tim Schumacher Fixed folds not opening automatically
vim-searchant.tar.gz 1.0.5 2016-06-18 7.0 Tim Schumacher Keep user-defined search mappings
vim-searchant.tar.gz 1.0.4 2016-06-17 7.0 Tim Schumacher Fixed handling of multiple windows
Fixed highlighting staying when searching for non existing pattern
vim-searchant.tar.gz 1.0.3 2016-06-16 7.0 Tim Schumacher Added support for the ignorecase option
Fixed highlighting for patterns using branches
Fixed highlighting for non-GUI (broke with GUI fix)
vim-searchant.tar.gz 1.0.2 2016-06-15 7.0 Tim Schumacher Fixed current result highlighting for GUI
vim-searchant.tar.gz 1.0.1 2016-06-14 7.0 Tim Schumacher Added requirements to readme
vim-searchant.tar.gz 1.0.0 2016-06-14 5.7 Tim Schumacher Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.