Moving Around
k (up),
h (left)
l (right).
j (down)
(Ex 5k,j,3l )
Word Movement
w (Forward Word Movement Ex. f,5f)
b (Backword Word Movement Ex. b,2b)
e (Forward Word Movement at the end of word Ex. e,3e)
ge (Backword Word Movement at the end of word Ex. ge,3ge)
Moving to the Start or End of a Line
$(End Of Line Ex. $,2$)
^(Start Of Line Ex. ^,3^)
Searching Along a Single Line
f (Searching Character Forward Ex. fa, 2fv)
F (Searching Character Backword Ex. Fg,2Ft)
t (Search till Forward )
T (Search till Backword)
Moving to a Specific Line
G (Go to Line No.)
CTRL-G (Where I am in the File)
g CTRL-G (Count col, line, words and bytes)
CTRL-O Jump to previous location
Jump to next location (line 10)
Where are you in File
:set number
:set nonumber
Scrolling Up and Down
CTRL-U (scrolls up half a screen of text)
CTRL-Y (scrolls up a line of text)
CTRL-B (scrolls up a entire screen at a time)
CTRL-D (scrolls down half a screen of text)
CTRL-E (scrolls down one line)
CTRL-F (scrolls down one screen of text)
z (screen line on the top)
88z positions line 88 at the top
zt (Leaves the cursor where it is)
z- (scrolls line to the end of the screen)
zb (Leaves the cursor where it is)
z. (Center of the screen)
zz (Leaves the cursor where it is)
:set scroll=10
:set scrolljump=5
:set scrolloff=3