Article View: comp.editors
Article #2703Re: Doing an nfind in vi
From: Hans Mulder
Date: Mon, 27 May 1991 12:52
Date: Mon, 27 May 1991 12:52
15 lines
852 bytes
852 bytes
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
Technical Details
Message-ID:
<3593@wn1.sci.kun.nl>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!sci.kun.nl!cs.kun.nl!hansmReferences:
<1356@dg.dg.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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