Vim in Action – Basic motion commands

h,l – forward, backward
j,k – up, down a line
0 – start of line
$ – end of line
w – start of next word (holds at punctuation)
W – same as w, but doesn’t hold on punctuation
e – end of next word (holds at punctuation)
E – end of next word (doesn’t hold at punctuation)
f{any char} – go to next instance of char
t{any char} – go till next char

##Reverse commands
b,B – opp. of w,W
ge,gE – opp. of e,E
F,T – opp. of f,t

##Multiple execution
{any num}{command} – run this many times
; – repeat earlier command

Leave a Reply