VIM commands Flashcards
Remember VIM commands
1
Q
Insert at the end of line
A
A
2
Q
append at the cursor
A
a
3
Q
Insert at the begining of line
A
I
4
Q
move to the next word
A
w
5
Q
move to the 3rd word
A
3w
6
Q
delete 3 lines
A
3dd
7
Q
delete 5 chars after cursor
A
5x
8
Q
delete 3 chars before cursor
A
3X
9
Q
delete charactes under cursor till the end of line
A
D
10
Q
Move by end of words
A
e
11
Q
Move to begining of line
A
0
12
Q
Move to the end of file
A
G
13
Q
Move to the begining of file
A
gg
14
Q
Move to the line 287
A
287G
15
Q
Jump to matching bracket
A
% while standing on a bracket
16
Q
Forward search
A
?word
17
Q
Backward search of “function”
A
/function
18
Q
open a line below cursoe
A
o
19
Q
open a line above the cursor
A
O
20
Q
move by words backward
A
b