My Vim commands
A list to track the vim commands I know, in case I start to forget.
Here’s a link to a cheatsheet to learn more.
Visual Mode
Visual | v |
Visual line | V |
Visual block | <ctrl>-v |
Windows
Explore | <ctrl>-6 |
:Ex |
Close window | <ctrl>-w q |
:q |
Split horizontal | <ctrl>-w s |
:Se |
Split vertical | <ctrl>-w v |
:Ve |
Inserting
Insert | i |
Append | a |
Insert at start | I |
Append at end | A |
Paste text | :r! cat -> paste -> <ctrl>-d-d |
Jumplist
View jumplist | :ju |
Backwards jump | <ctrl>-o |
Forwards jump | <ctrl>-i |
Buffers
List buffers | :ls |