Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!sci.kun.nl!cs.kun.nl!hansm From: hansm@cs.kun.nl (Hans Mulder) Newsgroups: comp.editors Subject: Re: Doing an nfind in vi Keywords: vi nfind Message-ID: <3593@wn1.sci.kun.nl> Date: 27 May 91 12:52:02 GMT References: <1356@dg.dg.com> Sender: root@sci.kun.nl Organization: University of Nijmegen, The Netherlands Lines: 15 In <1356@dg.dg.com> carlson@mrx.webo.dg.com (James Carlson) asks: >Does anyone out there know how to locate the next line that does *not* >contain a particular string in vi? The best I can come up with is :+,$v/string/a This will move the cursor to the next line not containing the string and then inform you that :a is not a legal command from open/visual mode. Anyone with a better idea? Hans Mulder hansm@cs.kun.nl