(Control characters zijn cursief weergegeven, de tekst in Engels omdat dat duidelijker is ivm gekozen letter)
[SIZE=-3]Bron: Linux in a Nutshell, O'Reilly, isbn 1-56592-585-8[/SIZE]
a Append text after cursor
A Append text before cursor
A
b Back up to beginning of word in current line
B Back up one word, ignoring punctuation
B Scroll backward one window
c Change operator
C Change to end of current line
C Esc
d Delete operator
D Delete to end of current line
D Scroll down half-window; in indert mode, unindent to shiftwidth if autoindent is set
e Move to end of word
E Move to end of word, ignoring punctuation
E Show one more line at bottom of window
f Find next character typed forward on current line
F Find next character typed backward on current line
F Scroll forward one window
g
G Go to specified line or end of file
G Print information about file on status line
h Left arrow cursor key
H Move cursor to home position
H Left arrow cursor key, Backspace key in insert mode
i Insert text before cursor
I Insert text before first nonblank character on line
I In insert mode: same as TAB key
j Down arrow cursor key
J Join two lines
J Down arrow cursor key; in indert mode, move down a line
k Up arrow cursor key
K
K
l Right arrow cursor key
L Move cursor to Last position in window
L Redraw screen
m Mark the current cursor position in register (a-z)
M Move to middle position in window
M Carriage return
n Repeat the last search command
N Repeat the last search command in reverse direction
N Down arrow cursor key
o Open line below current line
O Open line above current line
O
p Put yanked or deleted text after or below cursor
P Put yanked or deleted text before or above cursor
P Up arrow cursor key
q
Q Quit vi and invoke ex (:vi Return to vi)
Q
r Replace character at cursor with the next character you type
R Replace characters
R Redraw the screen
s Change the character under the cursor to typed characters
S Change entire line
S
t Move cursor forward to character before next character typed
T Move cursor backward to character after next character typed
T In insert mode: move to next tab setting
u Undo the last change made
U Restore current line, discarding changes
U Scroll the screen upward a half-window
v
V
V In insert mode: insert next character verbatim
w Move to beginning of next word
W Move to beginning of next word, ignoring punctuation
W In insert mode: back up to beginning of word
x Delete character under cursor
X Delete character before cursor
X
y Yank or copy operator
Y Make copy of current line
Y Show one more line at top of window
z Reposiition line containing cursor (Followed by Return = reposition line to top of screen; followed by . = reposition line to middle of screen; followed by _ = reposition line to bottom of screen)
ZZ Exit the editor, saving changes
Z Suspend vi