vi, Emacs
Chris Torek
chris at umcp-cs.UUCP
Sun Nov 2 09:27:50 AEST 1986
In article <690 at galbp.UUCP> mjy at 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 at umcp-cs ARPA: chris at mimsy.umd.edu
More information about the Comp.unix.wizards
mailing list