PREV Shell Commands UP Commands NEXT Emacs Related Commands

4.7: Options

autoindent
ai

autoindent -- In append mode after a <cr> the cursor will move directly below the first character on the previous line. This setting affects the current buffer only.

autoindent-global
ai-global
Same as `autoindent', but affects all buffers.
noautoindent
noai
Cancel autoindent.
noautoindent-global
noai-g
Cancel autoindent-global.
ignorecase
ic
ignorecase -- No distinction between upper and lower cases when searching.
noignorecase
noic
Cancel ignorecase.
magic
ma
Regular expressions used in searches; nomagic means no regexps.
nomagic
noma Cancel magic.
readonly
ro
readonly -- The file is not to be changed. If the user attempts to write to this file, confirmation will be requested.
noreadonly
noro
Cancel readonly.
shell=<string>
sh=<string>
shell -- The program to be used for shell escapes (default `$SHELL' (default `/bin/sh')).
shiftwidth=<count>
sw=<count>
shiftwidth -- Gives the shiftwidth (default 8 positions).
showmatch
sm
showmatch -- Whenever you append a ), Vi shows its match if it's on the same page; also with { and }. If there's no match, Vi will beep.
noshowmatch
nosm
Cancel showmatch.
tabstop=<count>
ts=<count>
tabstop -- The length of a <ht>; warning: this is only IN the editor, outside of it <ht>s have their normal length (default 8 positions). This setting affects the current buffer only.
tabstop-global
ts-g
Same as `tabstop', but affects all buffers.
wrapmargin=<count>
wm=<count>
wrapmargin -- In append mode Vi automatically puts a <lf> whenever there is a <sp> or <ht> within <wm> columns from the right margin.
wrapscan
ws
wrapscan -- When searching, the end is considered `stuck' to the begin of the file.
nowrapscan
nows
Cancel wrapscan.
:set <option> Turn <option> on.
:set no<option> Turn <option> off.
:set <option>=<value> Set <option> to <value>.

PREV Shell Commands UP Commands NEXT Emacs Related Commands