commands Flashcards
1
Q
move left
A
h
2
Q
move up
A
k
3
Q
move down
A
j
4
Q
move right
A
l
5
Q
quit and save
A
:wq
6
Q
delete character under cursor
A
x
7
Q
insert text at cursor
A
i
8
Q
insert append at end of line
A
A
capital a
9
Q
undo last
A
u
10
Q
delete from cursor to end of line
A
d$
11
Q
goto beginning of the line to first non-blank char
A
shift 6
12
Q
goto absolute beginning of line
A
0
13
Q
delete from cursor to end of the word
the cursor must be on the first letter of the word to delete the entire word
A
de
delete to end of the current word
14
Q
delete operator
A
d
15
Q
delete from the cursor to the start character of the next word, not including the start character
A
dw
16
Q
what do numbers before a motion command or operator mean, ie 3w
A
how many times the motion repeats
3w is 3 words forward