Go to the first, previous, next, last section, table of contents.

Rudimentary Changes

An easy way to customize VIP is to change the values of constants used in VIP. Here is the list of the constants used in VIP and their default values. The corresponding :se command is also indicated. (t and nil are true and false in elisp).

vip-auto-indent nil
:se ai
If t then enable auto indentation. by o or O command.
vip-case-fold-search nil
:se ic
If t search ignores cases.
vip-re-search nil
:se magic
If t then search is reg-exp search, if nil then vanilla search.
buffer-read-only
:se ro
Set current buffer to read only. To change globally put (setq-default buffer-read-only t) in your `.emacs' file.
blink-matching-paren t
:se sm
Show matching parens by blinking cursor.
vip-shift-width 8
:se sw=value
The number of columns shifted by > and < command.
vip-search-wrap-around t
:se ws
If t, search wraps around the buffer.
vip-tags-file-name "TAGS"
The name of the file used as the tag table.
vip-re-query-replace nil
If t then do reg-exp replace in query replace.
vip-help-in-insert-mode nil
If t then C-h is bound to help-command in insert mode, if nil then it is bound to delete-backward-char.
vip-no-multiple-ESC t
If you reset this, you can use ESC as Meta in Vi mode.
vip-ex-style-motion t
Reset this to get ESC that does not move back, l to cross lines etc.See section Movement and Markers for more info.
vip-filename-completion nil
Set to t to get filename completion.See section Completion for details.
vip-always t
Whether you want VIP mode in for all new buffers. This option must be set before VIP is loaded or in the `.vip' file.
vip-custom-file-name "~/.vip"
Change this if you want. Must be set before vip is loaded. Note that you have to set it as a string inside double quotes.
ex-find-file-shell "csh"
Shell used to interpret filenames. If you have problems with csh,change to something else. Note that you have to set it as a string inside double quotes.
ex-cycle-other-window t
:n will cycle through files in another window if one exists.
ex-cycle-through-non-files nil
:n does not normally cycle through buffers. Set this to get buffers also.

You can reset these constants in VIP by the Ex command set. Or you can include a line like this in your `.vip' file:

(setq vip-case-fold-search t)

Go to the first, previous, next, last section, table of contents.