:help incsearch
:help hls

Using 'incsearch' doesn't highlight them all as you type,
just the current match.  However, with 'hls' set, once you
hit enter, it will highlight all the items it found...not
quite the behavior you described, but close.

Thanks Tim - is that to say that this functionality doesn't
exist in vim?

It doesn't exist exactly as you describe. You can highlight all hits of the thing actually searched for (":set hls"), and you can highlight the current word incrementally as you type the search (":set incsearch"), but I don't think there's any native method by which it will highlight all hits incrementally.

It might be a hackable/scriptable sort of thing, but I leave that to the scripting folks on the list :)

-tim
PS: .quotinging line-in use to try Please .read to difficult is posting Top









Reply via email to