Hope these wil help you alot...in vi or vim editor
w move right one word or group of punctuation marks
b move left one word or group of punctuation marks
W move right one word
B move left one word
E move to the end of a word
0 move to the beginning of current lune
$ move to the end of current line
RETURN move to first non-white space character at beginning of next line
-(minus) move to first non-whitespace character at beginning of previous line
H move to top line on screen
L move to bottom line on screen
M move to middle line on screen
G move to end of file
x G moves to line number x
/ move to first character in line marked with / move to previous location
(counteracts G or simple search)
THanks !!