Wednesday, June 2, 2010

Search for several words in each line with vim?

Hi,

I have looked around for a way to do this but just cant seem to find
it. Basically, I have very large documents where I want to often
search for a few words in a line, but they wont be all together.

For example, I want to be able to find the line below in a large text
document by simply searching "cat dog"
"cats are smaller than dogs"

All editors I come across only allows you to search for an exact match
of that field "cat dog" in any line.

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

No comments:

Post a Comment