Show Menu
Cheatography

Vim with plugins Cheat Sheet (DRAFT) by

This is the vim cheat sheet for my use. It covers some basic key presses that I cant remember, and the details of a number of plugins like fugitive, foreplay, sqlplus and so forth

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Moving Around in the File

j or Up
Move the cursor up one line.
k or Down
Down one line.
h or Left
Left one character.
l or Right
Right one character.
e
To the end of a word.
E
To the end of a whites­pac­e-d­eli­mited word.
b
To the beginning of a word.
B
To the beginning of a whites­pac­e-d­eli­mited word.
0
To the beginning of a line.
^
To the first non-wh­ite­space character of a line.
$
To the end of a line.
H
To the first line of the screen.
M
To the middle line of the screen.
L
To the the last line of the screen.
:n
Jump to line number n. For example, to jump to line 42, you'd type :42

Vim Movement Commands

W
Next whitespace word beginning
w
Next word beginning
b
Previous word beginning
B
Previous whitespace word beginning
e
Next word ending
E
Next whitespace word ending
0
Begining of the line
^
First character on the line
$
End of the line
%
Matching parent­hesis