Vim Notes¶
List of Vim commands¶
i (Insert Mode)¶
Command used to enter insert mode. Allows you to edit like a traditional text editor
: (Command-Line Mode)¶
Allows you to follow execute more commands
For example:
:w - save
:q - closes current buffer
:wq: - save + quit
:q! - quits without saving
v (Visual Mode)¶
Enters visual mode. Used by highlighting a line and performing an action
dd (Delete Line)¶
Deletes an entire line while in Visual Mode
yy (Yank Line)¶
Yanks aka Copies a line while in Visual Mode
p** **(Paste)¶
Pastes copied line.
p - pastes after
P - pastes before