VIM Commands Flashcards
(77 cards)
move left
h
move down
j
move up
k
move right
l
jump by start of words (punctuation considered words)
w
jump by words (spaces separate words)
W
jump to end of words (punctuation considered words)
e
jump to end of words (no punctuation)
E
jump backward by words (punctuation considered words)
b
jump backward by words (no punctuation)
B
(zero) start of line
0
first non-blank character of line
end of line
$
Go To command (prefix with number
G
Repeat cursor movement command
Prefix a cursor movement command with a number to repeat it. For example, 4j moves down 4 lines.
start insert mode at cursor
i
insert at the beginning of the line
I
append after the cursor
a
append at the end of the line
A
open (append) blank line below current line (no need to press return)
o
open blank line above current line
O
append at end of word
ea
exit insert mode
Esc
replace a single character (does not use insert mode)
r