chris@umcp-cs.UUCP (Chris Torek) (11/02/86)
In article <690@galbp.UUCP> mjy@galbp.UUCP (Michael Yoffee) writes: > 1. EMACS gives us the multiple-edit capablility which is > very useful for cut and paste operations. So does vi, though in a rather ugly way (named buffers, and an alternate file and `next' and `rewind' commands). > 2. VI(1) gives us the POWERFUL facility of REGULAR EXPRESSIONS So does Emacs. > 3. EMACS gives us the POWERFUL macro facility. So does vi. > 1. EMACS does NOT have REGULAR EXPRESSIONS .... You have a pretty bogus Emacs! UniPress and Gnu Emacs both have regular expressions. > 2. VI(1) does NOT give us the multiple-edit capability for > cut & paste but, you can yank a region and paste when > you enter a new file. . . . which amounts to the same thing. If you set autowrite, you can type, e.g., % vi f1 f2 /foo<RET>"adj:n<RET>/bar<RET>"ap^^ ... ^^ ... ZZ (^^ is control-hat, which is equivalent to :e#<RET>). > 3. VI(1) does NOT give us a macro facility. Try `:map'. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690) UUCP: seismo!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@mimsy.umd.edu