Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-tis!ames!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!sm.unisys.com!ism780c!mikep From: mikep@ism780c.isc.com (Michael A. Petonic) Newsgroups: comp.unix.questions Subject: Re: vi vs. emacs Message-ID: <12496@ism780c.isc.com> Date: 31 Jul 88 08:01:15 GMT References: <16697@brl-adm.ARPA> Reply-To: mikep@ism780c.UUCP (Michael A. Petonic) Organization: Interactive Systems Corp., Santa Monica CA Lines: 21 In article <16697@brl-adm.ARPA> garvin@uhccux.uhcc.hawaii.edu (Jay Garvin) writes: >P.S. Ok, I'll go along with things like vi's > > "ayL (Double-Quote-Small-a-Small-y-Capital-L) means: > *Yank text from cursor to end of screen into buffer "a"* Well, doing the same in GNU Emacs is as easy as: ^[>^Xxa (Escape, right-angle-bracket, Control-X, x, a) And while we're on the point of stuffing things in buffers, GNU Emacs has a more comfortable way, in my opinion, than VI does. In order to "yank" a section of text that spans multiple screens, you just go to the top and then bottom and you can actually see the text around where you're going to yank from. In VI, you have to manually count lines or go through the trouble of setting an extraneous mark and then yank until a mark. Pretty bogus. Goes along the same lines as a vehement advocate of the goto-less programming school of thought. ``Look, I didn't use a SINGLE GOTO! Sure, I had to use a couple extraneous booleans [ because, of course, the goto-less advocate programs exclusively in Pascal. ], but no GOTOS'' -MikeP