Saturday, June 6, 2015

Re: search for a list of words

* Fetchinson . <fetchinson@googlemail.com> [2015-05-08 15:17 +0200]:

> Is it possible to search for a list of words?
> I mean if I have a text I'd like to search for
> either 'foo' or 'bar' and when the matches
> are highlighted, I'd like to be able to jump
> between the matches (which include both
> words 'foo' and 'bar').

/\(foo\|bar\)

Elimar
--
On the keyboard of life you have always
to keep a finger at the escape key;-)

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: