On Friday, March 16, 2012 3:18:44 AM UTC-5, user849784 wrote:
> I was wondering if there is 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.

I don't think there's a way to do this directly, though you could make a 
mapping for it.

There's also this, maybe it will give you some ideas:

http://vim.wikia.com/wiki/Highlight_multiple_words

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to