Improved Incremental Searching

incsearch.vim

incsearch.vim (GitHub: haya14busa / incsearch.vim, License: MIT) by haya14busa is an improved incremental search. It highlights all pattern matches, and it also works in all modes: Normal, Visual, and Operator-pending.

You'll need to set up some mappings to make it feel natural. The author has suggested the following:

map /  (incsearch-forward)
map ?  (incsearch-backward)
map g/ (incsearch-stay)

The results look very impressive -- it reminds me of some of the features you see in recent GUI editors, while still feeling as immediate as Vim's standard regex search. The readme has lots of animated gifs so you can see how it works.

blog comments powered by Disqus