Hale Boyes, Kevin wrote:

How do I search in a document to the next line that doesn't contain a
specific string?  Something along the lines of "grep -v".
I suggest trying the LogiPat plugin.  To do what you're asking with it:

  :LP !"string"

It takes Boolean logic (!=not |=or &=and ()s ) plus "strings" and constructs a regexp
that'll do it.

You can get the latest LogiPat.vim from

   http://mysite.verizon.net/astronaut/vim/index.html#LOGIPAT
or a more stable version from:

   http://vim.sourceforge.net/scripts/script.php?script_id=1290

Regards,
Chip Campbell

Reply via email to