Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ncar!noao!asuvax!mcdphx!mcdchg!ddsw1!corpane!sparks From: sparks@corpane.UUCP (John Sparks) Newsgroups: comp.misc Subject: Re: vi-like Summary: Not arguing for or against vi. Message-ID: <445@corpane.UUCP> Date: 13 Mar 89 20:01:51 GMT References: <12406@dartvax.Dartmouth.EDU> <958@starfish.Convergent.COM> <1472@umbio.MIAMI.EDU> Organization: Corpane Industries, Inc., Louisville Ky Lines: 52 I really could care less whether someone uses vi or not. It's there business. I was just commenting on vi's sometime strange syntax. In article <1472@umbio.MIAMI.EDU>, aem@ibiza.Miami.Edu (a.e.mossberg) writes: > In <415@corpane.UUCP>, wrote: > >me >dd = delete line (why? why not dl?) >me >ZZ = end edit and save file (!!!!) >me >$ = end of file >me >A = insert begining at end of line !?!?! > > dd-delete line > dw-delete word > A-append at beginning of line ^^^^^? seems like it appends to the END of the current line to me. > a-append after current position > I-insert at beginning of line > i-insert at current position > $-end of line > ^-beginning of line > Just what was meant by the above? It's mostly the same thing I posted. > it's really all straight forward. ZZ is just a convenience rather than > :wq -write and quit But... why ZZ?!? why not ESC-X for eXit? My whole point wsa that vi uses some very cryptic commands. I am sure it seems very natural to someone who is an expert at it, but to a beginner it's very confusing. It's not at all 'straight forward'. What's really confusing is that some of the commands actually make sense and that really throws you for a loop. Just when you think you have got the commands down pat, boom! a weird one creeps in like ZZ. For example: dw means delete word. makes perfect sense. then you get dd for delete line instead of dl. But like some others have pointed out: My opinions are good for me, and I don't have the inclination nor the right to tell them that their preferred editor in right or wrong for them. I do however reserve the right to choose for myself. I am starting to get a real liking for word perfect (for unix) Most of it's commands are in the form of function keys. So a template really helps you remember the commands. You can edit more than one file at a time, and with macros you can set it up to save itself in unix compatable text file format with two keystrokes (F1/x for me) Matter of fact, I am using wp to write this. I Think I am starting to like it better than EDT. Give it a try if you have access to it. -- John Sparks // Amiga | {rutgers|uunet}!ukma!corpane!sparks \X/ UUCP | >> call D.I.S.K. @ 502/968-5401 thru 5406 << Don't worry if you're a kleptomaniac, you can always take something for it.