#Vim CheatSheet
First, a note on the conventions used in this cheatsheet: Vim makes great use of the key modifiers shift and ctrl. I have noted any combined keypress as <command> key
. In the case of shift, I have also included the normally recognized output: <shift> a (A)
This is for clarity only and not part of the actual command.
###Moving Around First up, try to stay in normal mode as much as possible and edit with objects (discussed below) rather than going into insert mode and using arrow keys. Also, don't hold the h, j, k, l keys to move large distances,
h
, j
, k
, l
- Normal Mode - Move the cursor left, down, up, and right.
gg
- Normal Mode - Go to the top of the document.