Emacs style highlighting for incremental search in vim

In Vim, is there a way to enable on-the-fly highlighting for all matches when searching?

If I enable incsearch and type "/something" it will highlight the first match only. If I enable hlsearch and type "/something", nothing happens until I press enter (it only highlights the previous search).

In emacs the first match will be highlighted, and (after a slight delay) all other matches on the screen are highlighted in a different color, giving almost instant feedback when scanning for matches in a piece of code.

7
задан tshepang 5 May 2014 в 17:14
поделиться