Vim Keyboard Shortcuts
General Nearly all commands can be preceded by a number for a repeat count. eg. 5dd delete 5 lines gets you out of any mode and back to command mode Commands preceded by : are executed on the command line at the bottom of the screen :help help with any command Navigation Cursor movement: ← h ↓ j ↑ k l→ By words: w next word (by punctuation); W next word (by spaces) b back word (by punctuation); B back word (by spaces) e end word (by punctuation); E end word (by spaces) By line: 0 start of line; ^ first non-whitespace $ end of line By paragraph: { previous blank line; } next blank line By file: gg start of file; G end of file 123G go to specific line number By marker: mx set mark x ; 'x go to mark x '. go to position of last edit ' ' go bac...