Article View: comp.editors
Article #1377Re: VI??? GROSS!
From: Tom Christiansen
Date: Fri, 13 Nov 1992 18:55
Date: Fri, 13 Nov 1992 18:55
25 lines
1922 bytes
1922 bytes
From the keyboard of wolff@inf.fu-berlin.de (Thomas Wolff):
:Most repliers to my posting seem to be that well accustomed to the fact
:that vi is a line editor that they didn't see my point when I wrote
:"arbitrary (!) block of text" (well, maybe "block" was misleading). This
:is not a block of lines (which is the unit of most vi operations) and
:since I referred to "elementary text editing tasks" I didn't mean columns
:either. Suppose I have the lines
: word1 word2 word1
: word3 word4 word3
:and I need the text from "word2 " up to "word4" (assume it's a sentence)
:to be copied or moved elsewhere.If an editor cannot do this with a
:simple command sequence (and without the search trick burdening me with
:the task of counting the occurences of the word following my sentence
:within my sentence, if it can be done that way at all), I just do not
:call it a text editor.
Use one of
y2W " two words
y) " end of sentence
y$ " end of line
It isn't very hard.
--tom
Technical Details
Message-ID:
<1992Nov13.185540.16898@news.eng.convex.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!know!mips2!news.bbn.com!noc.near.net!news.Brown.EDU!qt.cs.utexas.edu!yale.edu!jvnc.net!darwin.sura.net!convex!convex!tchristReferences:
<1992Nov13.124435.20019@cas.org> <1992Nov13.152821.6781@nsisrv.gsfc.nasa.gov> <Z8U84BL@math.fu-berlin.de>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!know!mips2!news.bbn.com!noc.near.net!news.Brown.EDU!qt.cs.utexas.edu!yale.edu!jvnc.net!darwin.sura.net!convex!convex!tchrist
From: tchrist@convex.COM (Tom Christiansen)
Newsgroups: comp.editors
Subject: Re: VI??? GROSS!
Message-ID: <1992Nov13.185540.16898@news.eng.convex.com>
Date: 13 Nov 92 18:55:40 GMT
References: <1992Nov13.124435.20019@cas.org> <1992Nov13.152821.6781@nsisrv.gsfc.nasa.gov> <Z8U84BL@math.fu-berlin.de>
Sender: usenet@news.eng.convex.com (news access account)
Reply-To: tchrist@convex.COM (Tom Christiansen)
Organization: Convex Computer Corporation, Colorado Springs, CO
Lines: 25
Originator: tchrist@pixel.convex.com
Nntp-Posting-Host: pixel.convex.com
X-Disclaimer: This message was written by a user at CONVEX Computer
Corp. The opinions expressed are those of the user and
not necessarily those of CONVEX.