[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]

/slackware/ - Slackware Linux

#slackware@irc.rizon.net
Name
Email
Subject
REC
STOP
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Options

Allowed file types:jpg, jpeg, gif, png, webp,webm, mp4, mov
Max filesize is16 MB.
Max image dimensions are15000 x15000.
You may upload5 per post.


File: ed5ea04a7525fff⋯.png (35.37 KB,220x175,44:35,Elvis_syntax.png)

 No.39

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.

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
Post last edited at


[Return][Go to top][Catalog][Nerve Center][Random][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]