Article View: comp.editors
Article #2868Re: how do I do this in vi?
From: Stew Ellis
Date: Thu, 27 Jun 1991 04:17
Date: Thu, 27 Jun 1991 04:17
53 lines
3154 bytes
3154 bytes
fin@norge.unet.umn.edu (Craig A. Finseth) writes:
>I have seen lots of articles complaining about how big Emacs is and
>how pervasive and small and simple vi is. I would like the best of
>both worlds. Does anybody have a set of vi macros that emulates the
>Emacs command set?
>[ Lots of (:-)s for the humor-impaired. ]
>Craig A. Finseth fin@unet.umn.edu [CAF13]
>Networking Services +1 612 624 3375 desk
>Computer and Information Services +1 612 625 0006 problems
>University of Minnesota +1 612 626 1002 FAX
>130 Lind Hall, 207 Church St SE
>Minneapolis MN 55455-0134, USA
Why not try jove? It is a reasonable subset of emacs, with some extensibility
through keyboard- and named- macros. Is is easier for a c programmer to add
c code than to learn lisp. OS commands can be used as pipes for regions of
text in the edit buffer: I routinely define a region of a a space or two and
pipe it through date to get a date in a code comment or piece of mail
(Wed Jun 26 23:57:04 EDT 1991). I also used pr to create a double-columned
help file by filtering regions. Jove can parse C or grep -n errors in a
window. Best of all, all of the code, docs and all, fits on one DOS HD floppy, maybe without even being
compressed. The ls for vi and jove on a SUN 3, SunOS4.1 follows:
solo> l /usr/ucb/vi
-rwxr-xr-x 7 root 155648 Feb 8 1990 /usr/ucb/vi
solo> l /usr/local/bin/jove
-rwxr-xr-x 1 stew 180224 Feb 12 13:28 /usr/local/bin/jove
solo>
It is not perfect and has some bugs, but for many people for whom the emacs
command set is more important than the feeping creaturism of GNU emacs, it is
a much more integrated product than uemacs.
------------------------------------------------------------------------
_________________________________
R.Stewart (Stew) Ellis / _______________________________/
Assoc. Prof. of Social Science / / ______ ____________ __
Dept. of Humanities & Social Science / / /___ / / ___ ___ / / /
1700 W. Third Avenue / / / / / / / / / / / /
Flint, MI 48504 / /__________/ / / / / / / / / /
313-762-9765 Office /______________/ /_/ /_/ /_/ /_/
elliss@frith.egr.msu.edu ENGINEERING & MANAGEMENT INSTITUTE
"Apple Macintosh, the closed system for people with supposedly open minds."
- plagiarized from someone else on the net
"How you gonna do it? OS/2 it!" - stupid IBM ad
"Have you ever heard anything so half-OSsed?" - me
Technical Details
Message-ID:
<1991Jun27.041748.15841@msuinfo.cl.msu.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!uwm.edu!psuvax1!rutgers!netnews.upenn.edu!msuinfo!kira.egr.msu.edu!ellissReferences:
<4364@uc.msc.umn.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!spool.mu.edu!uwm.edu!psuvax1!rutgers!netnews.upenn.edu!msuinfo!kira.egr.msu.edu!elliss From: elliss@kira.egr.msu.edu (Stew Ellis) Newsgroups: comp.editors Subject: Re: how do I do this in vi? Message-ID: <1991Jun27.041748.15841@msuinfo.cl.msu.edu> Date: 27 Jun 91 04:17:48 GMT Article-I.D.: msuinfo.1991Jun27.041748.15841 References: <4364@uc.msc.umn.edu> Sender: news@msuinfo.cl.msu.edu Organization: Michigan State University Lines: 53