Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!iuvax!rutgers!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!oberon!ucla-cs!gast From: gast@lanai.cs.ucla.edu (David Gast) Newsgroups: comp.editors Subject: Re: Vi bashing Keywords: user-friendly, clear documentation, ease of use Message-ID: <21985@shemp.CS.UCLA.EDU> Date: 19 Mar 89 04:31:31 GMT References: <587@alice.marlow.uucp> <4048@ttidca.TTI.COM> <960@myrias.UUCP> Sender: news@CS.UCLA.EDU Reply-To: reagan@cs.ucla.edu (David Gast) Organization: White House Lines: 22 In article <960@myrias.UUCP> dbf@myrias.UUCP (David Ferrier) writes: >Thanks for posting an ingenious and elegant solution. Another article already posted a better solution so I won't repeat it. >It also highlights the problem that in vi there is no EASY, OBVIOUS way >to delete a large block of text. For dozens of other editors, >the procedure is "Just Say Delete". When vi also becomes user-friendly, >clearly documented, and easy to use, please post. There are objects w (for word), G (for last line of file), 'a (for place marked a), G (for last line of file), ) (for sentence), } (for paragraph), etc. These objects can take counts too. If you want to delete the next 3 paragraphs, you type d3}. What could be easier? If you want to delete to the end of file, you type dG. Not very difficult at all and clearly documented. David Gast gast@cs.ucla.edu {uunet,ucbvax,rutgers}!{ucla-cs,cs.ucla.edu}!gast