vim 1 Flashcards
1
Q
Vim command used to delete from the cursor to the end of the line
A
d$
2
Q
Command used to delete the entire line in vim
A
dd
3
Q
to insert before the cursor in vim you type
A
i
4
Q
What command is the command used to quit vim without saving changes?
A
:q!
5
Q
To put back text that just been deleted type
A
p
6
Q
To replace the character under the cursor in vim type _ and then the character you want to have there
A
r
7
Q
To undo all changes on a vim line vim type
A
U
8
Q
What key is used to switch in between Insert and Normal/command modes in vim?
A
ESC
9
Q
What command is used to undo the last action in vim?
A
u
10
Q
What is the commands used to save the changes and quit in vim?
A
:wq