elvis
elvis is a vi clone written by Steve Kirkendall.
Important Command-Line Options
-aLoad each file named on the command line to a separate window.
-ccommandExecute command at startup (POSIX version of the historical
+command syntax).-ffilenameUse filename for the session file instead of the default name.
-GguiUse the given interface. The default is the
termcapinterface. Other choices includex11,windows,curses,open, andquit. Not all the interfaces may be compiled into your version of elvis.
-iStart editing in input mode instead of in command mode.
-ologfileRedirect the startup messages out to a file, instead of stdout/stderr. This is of critical importance to MS Windows users because Windows discards anything written to standard output and standard error.
-RStart editing each file in read-only mode.
-sRead an ex script from standard input and execute (per the POSIX standard). This bypasses all initialization scripts.
-SSet the option
security=saferfor the whole session, not just execution of .exrc files. This adds a certain amount of security, but should not necessarily be trusted blindly.
-SSSet the option
security=restricted, which is even more paranoid thansecurity=safer.
-VOutput more verbose status information.
-?Print a summary of the possible options.
elvis Window Management
elvis provides multiwindow editing.
Window management commands—ex
Command | Function |
|---|---|
| Close the current window; the buffer that the window was displaying remains intact |
| Create a new empty buffer ... |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access