Next: , Previous: , Up: Survey   [Contents][Index]

1.2 Loading VIP

The recommended way to load VIP automatically is to include the line:

(load "vip")

in your .emacs file. The .emacs file is placed in your home directory and it will be executed every time you invoke Emacs. If you wish to be in vi mode whenever Emacs starts up, you can include the following line in your .emacs file instead of the above line:

(add-hook 'emacs-startup-hook 'vip-mode)

(See Vi Mode, for the explanation of vi mode.)

Even if your .emacs file does not contain any of the above lines, you can load VIP and enter vi mode by typing the following from within Emacs.

M-x vip-mode