Reference
Every key in the course
The 91 keys these 51 lessons teach, in the order you meet them. Each one links to the lesson that introduces it.
Basic Vim
- i
- Insert before the cursorIn Introduction to Text Objects: Inner: the contents, without the surrounding delimiters
- Introduction to Modes
- a
- Insert after the cursorIn Introduction to Text Objects: Around: the contents plus the surrounding delimiters
- Introduction to Modes
- o
- Open a new line below and start insertingIn Switch Visual Selection Ends: Swap which end of the selection the cursor movesIn Switch Visual Line Ends: Swap which end of the linewise selection moves
- Opening New Lines
Essential Motions
Basic Operators
- d
- Delete operator, waiting for a motion or text objectIn Visual Mode Operators: Delete the selected charactersIn Visual Line Operators: Delete the selected lines
- Introduction to Operators
- c
- Change operator, deleting a range then insertingIn Visual Mode Operators: Change the selected charactersIn Visual Line Operators: Change the selected lines
- Introduction to Operators
- y
- Yank (copy) operator, waiting for a motion or text objectIn Visual Mode Operators: Yank the selected charactersIn Visual Line Operators: Yank the selected lines
- Introduction to Operators
- p
- Paste after the cursor, or below for a whole lineIn Visual Line Operators: Replace the selected lines with what was yanked
- Copy and Paste Lines