vile—vi like Emacs
vile is a vi clone based originally on MicroEmacs, whose main goal is to provide the “finger feel” of vi.
Important Command-Line Options
-gNvile begins editing on the first file at the specified line number; this can also be given as
+N.
-hInvokes vile on the help file.
-RInvokes vile in “read-only” mode; no writes are permitted while in this mode.
-spatternIn the first file, vile executes an initial search for the given pattern; this can also be given as
+/pattern.
-vInvokes vile in “view” mode; no changes are permitted to any buffer while in this mode.
-?vile prints a short usage summary and exits.
@cmdfilevile runs the specified file as its startup file and bypasses any normal startup file.
vile Window Management Commands
Command |
Key sequences
| Function |
|---|---|---|
|
| Eliminate all windows except the current one |
|
| Destroy the current window unless it’s the last one |
| ^X e | Bring given (or under-cursor, for |
|
| Increase the size of the current window by count |
|
| Move next window down (or buffer up) by count lines |
|
| Move next window up (or buffer down) by count lines |
|
| Scroll window to left by count columns, half-screen if count unspecified |
|
| Scroll window to right by count columns, half-screen if count unspecified |
|
| Move to the next window |
|
|
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