Multiple search highlights?

2007-06-04 Thread Ron Olson

Hi all-

I just recently joined this list after using Vim for awhile, and vi
since, gosh, 1990 on a Vax. I'm astounded how, over the years, vi (and
now Vim) have served my needs pretty much perfectly; what other editor
is available on everything, has every feature you could possibly want,
and is fast.

That said, there is a feature I do want, or maybe it's already there
but I can't figure out how to do it: multiple highlights. What I mean
by this is, typically I look for a string like foo in vim with /foo,
and it highlights all occurrences in the file (standard behavior).
What I need is to be able to search for something else (which I
believe I could do by searching using a regex), but I would like that
second thing to be in another color a la Google's search results (at
least in dejanews). What I need, eventually, is an angry fruit salad
of colors for all the search items I've entered.

Is this currently doable, and if not, do you think it's possible to
accomplish using a plugin?

Thanks,


Re: Multiple search highlights?

2007-06-04 Thread Greg Dunn

What I need is to be able to search for something else (which I
believe I could do by searching using a regex), but I would like that
second thing to be in another color a la Google's search results (at
least in dejanews). What I need, eventually, is an angry fruit salad
of colors for all the search items I've entered.

Is this currently doable, and if not, do you think it's possible to
accomplish using a plugin?


I think this plugin will accomplish what you want:
http://www.vim.org/scripts/script.php?script_id=1238


Re: Multiple search highlights?

2007-06-04 Thread fREW

On 6/4/07, Ron Olson [EMAIL PROTECTED] wrote:

Hi all-

I just recently joined this list after using Vim for awhile, and vi
since, gosh, 1990 on a Vax. I'm astounded how, over the years, vi (and
now Vim) have served my needs pretty much perfectly; what other editor
is available on everything, has every feature you could possibly want,
and is fast.

That said, there is a feature I do want, or maybe it's already there
but I can't figure out how to do it: multiple highlights. What I mean
by this is, typically I look for a string like foo in vim with /foo,
and it highlights all occurrences in the file (standard behavior).
What I need is to be able to search for something else (which I
believe I could do by searching using a regex), but I would like that
second thing to be in another color a la Google's search results (at
least in dejanews). What I need, eventually, is an angry fruit salad
of colors for all the search items I've entered.

Is this currently doable, and if not, do you think it's possible to
accomplish using a plugin?

Thanks,



Who doesn't want an angry fruit salad of colors?

--
-fREW