Editing Flashcards
1
Q
Insert characters
A
i
2
Q
Append to current word
A
a
3
Q
Append to end of line
A
A
4
Q
Delete current character
A
x
5
Q
Delete current line
A
dd
6
Q
Delete Word
A
dw (deletes entire word when cursor at the first character of a word)
7
Q
Delete to the end of the line
A
d$
8
Q
Move forward five words
A
5w (use 5e to move to end of the word of the fifth word)
9
Q
Delete the next 3 lines
A
3dd
10
Q
Undo last change
A
u
11
Q
Undo all changes on line
A
U
12
Q
Redo the last edit
A
Ctrl + R
13
Q
Add the current contents of the register with the put command
A
p (similar to paste)
14
Q
Replace
A
r
15
Q
Change operator (change current word ending from where the cursor is)
A
ce