Much Emacs functionality is essential, and if I had to choose, I would leave all of Vi for pure Emacs. But you can have all of both. All Emacs keystrokes and modes still function as before, since they use control and meta sequences that are distinct from Vi commands. You gain the option of using wrist-friendly Vi sequences for routine text manipulation. You can use Emacs customization to streamline Vi edit mode further. See the O'Reilly book "GNU Emacs Extensions."
In this directory you will find
.vip files to go in your home
directory. I particularly like the
highlighting of languages. Invoke emacs with
an alias for
emacs -l vip. You'll also
find postscript reference cards for emacs and
VIP. Elsewhere on the net you can track down
a large postscript manual for VIP, but I
doubt you'll need it if you know Vi already.
One feature of VIP will confuse you at
first. You can switch between vi and emacs
mode with a control-z, which is easy to hit
by accident. The bar at the bottom of the
screen will tell you which mode you are in.
Fortunately, if you discover you have been
typing garbage, you can hit undo
u with any
number of repeat
. strokes. In vi mode,
you can quit as usual with
In any mode, you can quit with control-x,
.emacs file you want to use
at least the following three directives.
; Use vi mode. Remove this line for plain emacs. (setq term-setup-hook 'vip-mode) ; Hide because dangerous in vi mode (global-unset-key "\e\e") ; Turn off binding of colon to eval (put 'eval-expression 'disabled nil)I found most everything in my
.vipfile to be essential.
Go back to my homepage or hotlist.