Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdahl!pyramid!prls!philabs!ttidca!kevin From: kevin@ttidca.TTI.COM (Kevin Carothers) Newsgroups: comp.editors Subject: Re: Vi bashing [was: CRISP (yet again)] Message-ID: <4048@ttidca.TTI.COM> Date: 14 Mar 89 19:35:32 GMT References: <587@alice.marlow.uucp> Reply-To: kevin@ttidcb.tti.com (Kevin Carothers) Organization: Citicorp/TTI, Santa Monica Lines: 30 >1. Vi has great problems in moving text around. If you want to delete > a block of text you usually have to count lines. You can use > the registers of vi to mark the block and then cut the > text - but you usually make a mistake and have to rely on > the U or u commands to get it right. I am continuously amazed at the lack of knowledge about Vi some of the people who post to this newsgroup display! NO, you DO NOT have to count lines! Quit posting for a minute and watch my fingers: 1. Mark the beginning and end of your block of text Lets say the beginning is register "a", and the end is "b". 2. Enter the following command: :'a,'bw !wc -l ^ +---- This space is very important. If you don't like Vi, fine. Just don't post untrue junk about it. Hope this adds to the discussion ========================================================================= Kevin Carothers !{csun,psivax,rdlvax}!ttidca!kevin :wq!