Elvis is a vi/ex clone and is also Slackware's default vi text editor.
In this thread I won't get into Elvis's commands, but paste my $HOME/.elvisrc instead in the hopes that it's useful for those who use Elvis regularly like I do.
$HOME/.elvisrc is one of the locations where Elvis reads its user configuration file.
You can find the documentation for Elvis online on the internet, or by typing ":help" inside Elvis. This will open the on-line documentation in a new window though. To close the other window, use ctrl+w, w to switch to it, then ":q" to close it.
$ cat .elvisrc
set autoindent
set number
set report=1
set ruler
set scroll=24
set showmatch
set showmode
color normal brightwhite
color lnum yellow
color selection white
color comment lightgreen
color string lightred
color char brown
color number yellow
color function lightcyan
color variable lightmagenta
color link cyan
If you wish to disable "set number" with a file open for example, type ":set nonumber".
Happy text editing!
Compass.
Post last edited at