Use
:set option
or :set nooption
for boolean options
and
:set option=value
for value options.
autoindent | Automatically indent code (different clones have different languages supported) |
ignorecase | Ignore case in searches |
number | Show line numbering |
showmode | Display whether you are in input/overwrite etc mode |
shiftwidth | Amount to shift using the < and > operators |
tabstop | Width of tabs |
Each vi clone has lots of different options and it is worth looking what the clone you use has. There are lots of variations on how tabs are treated and getting that to feel right can take some time.
~/.exrc can be created to hold a list of default set commands and other : commands. No colon is needed!
Copyright Dr. David Alan Gilbert 2001. vitalk @ treblig.org - Hacked together with dsh