vile, xvile, uxvile, lxvile − VI Like Emacs
vile [@cmdfile] [+command] [-FhIiRVv] [-gNNN] [-kcryptkey] [-spattern] [-ttag] [filename]...
vile is a text editor. This man page is fairly terse. More information can be obtained from the internal help, available with the -h option or by using the ":help" command from within vile.
xvile is the same text editor, built as an X-windows application, with fully integrated mouse support, scrollbars, etc.
uxvile is a wrapper around xvile which invokes the latter program with the correct locale environment required to use a unicode character set and the "UXVile" X resource class set.
lxvile is a wrapper around xvile which invokes the latter program with a font chosen to match the current locale environment.
vile retains the "finger-feel", if you will, of vi, while adding the multiple buffer and multiple window features of emacs and other editors. It is definitely not a vi clone, in that some substantial stuff is missing, and the screen doesn’t look quite the same. The things that you tend to type over and over probably work. Things done less frequently, like configuring a startup file, are somewhat (or very, depending on how ambitious you are) different. But what matters most is that one’s "muscle memory" does the right thing to the text in front of you, and that is what vile tries to do for vi users.
Vile accumulates most options into two temporary buffers [vileinit] and [vileopts]. The former is executed before reading the first file into a buffer. The latter is executed after reading the first file into a buffer. Each is removed after executing (unless an error is detected).
COMMON
OPTIONS
-ccommand
vile will begin the session on the first file invoking the given command. Legal commands include many ex-style commands, vile-commands, etc., subject to shell quoting. This option is used most often with a line number or search pattern. For example
vile -c123
filename
vile -c/pattern filename
They correspond to ex-style commands on the given file:
:123
:/pattern
These are more verbose equivalents:
vile
-c’123 goto-line’ filename
vile -c’search-forward /pattern/’ filename
You can use more than one command, e.g.,
vile -c’123’ -c’10*goto-col’ filename
to put the cursor on column 10 of line 123. The "*" (or ":") separates the repeat count (used by goto-col) from the line- or range-specification used by line-oriented commands.
@cmdfile
vile will run the specified file as its startup file, and will bypass any normal startup file (i.e. .vilerc) or environment variable (i.e. $VILEINIT). This is added to [vileinit].
|
-D |
tells vile to trace the results of macro execution into the hidden buffer "[Trace]". |
-e | -E
Invokes vile in "noview" mode − changes are permitted to any buffer while in this mode (see "-v").
|
-F |
will run the syntax filter that applies to each filename on the command-line, and write the attributed text to the standard output. | ||
|
-h |
Invokes vile on the helpfile. |
-i | -I
Tells vile to use vileinit.rc (which is installed) as the initialization file. If you do not have a .vilerc, vile will make a short one that sources vileinit.rc This is added to [vileinit].
-k cryptkey | -K cryptkey
S