vim Flashcards
1
Q
search and replace
A
:%s///g
2
Q
start of line
A
$
3
Q
end of line
A
0 (zero)
4
Q
ctrl-e/ctrl-y
A
shift file up/down one line
5
Q
ctrl-u/ctrl-d
A
shift file up/down several lines
6
Q
j/k
A
cursor down/up one line
7
Q
h/l
A
cursor left/right one character
8
Q
o
A
insert line after current
9
Q
yy/dd
A
copy or delete lines
10
Q
p
A
paste