On 2015-05-08 15:17, Fetchinson . wrote: > 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').
Depending on your criteria, you can do the easy-but-sloppy /foo\|bar\|baz or you can wrap it in conditions to ensure whole-words: /\<\(foo\|bar\|baz\)\> so you don't find things like "barn" or "buffoon". -tim -- -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
