I forgot to ask one last thing - if I'm searching for something in a text file, can I have vim select every existing string that matches up to what I've typed at that point? Meaning, if the first two characters of what I'm looking for are "va", all "va" gets highlighted as I type, then when I add "ria" to that, all "varia" strings get highlighted.

: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.

-tim



Reply via email to