elvis 2.2 Options

elvis 2.2 has a total of 225 options that affect its behavior. Table B-3 summarizes the most important ones. Most options described in Table B-1 are not repeated here.

Table B-3. elvis 2.2 set options
OptionDefaultDescription
autoiconify (aic)noautoiconify

Iconify the old window when de-iconifying a new one. X11 only.

backup (bk)nobackup

Make a backup file (xxx.bak) before writing the current file out to disk.

binary (bin)

The buffer’s data is not text. This option is set automatically.

boldfont (xfb)

The name of the bold font. X11 only.

bufdisplay (bd)normal

The default display mode for the buffer (hex, html, man, normal, syntax, or tex).

ccprg (cp)cc ($1?$1:$2)

The shell command for :cc.

directory (dir)

Where to store temporary files. The default is system-dependent.

display (mode)normal

The name of current display mode, set by the :display command.

elvispath (epath)

A list of directories in which to search for configuration files. The default is system-dependent.

focusnew (fn)focusnew

Force keyboard focus into the new window. X11 only.

font (fnt)

The name of the normal font, for the Windows and X11 interfaces.

gdefault (gd)nogdefault

Cause the substitute command to change all instances.

home (home)$HOME

The home directory for ~ in filenames.

italicfont (xfi)

The name of the italic font. X11 only.

locked (lock)nolocked

Make the buffer read-only and cause most commands that would modify the buffer to fail. Usually set automatically for read-only HTML files.

lpcolor (lpcl)nolpcl

Use color when ...

Get Learning the vi and Vim Editors, 7th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.