Vim motions primer
Stop reaching for arrows. Internalize these 12 motions and you will navigate code at the speed of thought.
Core movement
h / lleft / right by charj / kdown / up by linew / bforward / back by word0 / $start / end of line^first non-blank chargg / Gtop / bottom of fileScreen jumps
Ctrl+d / Ctrl+uhalf-page down / upCtrl+f / Ctrl+bfull-page down / upzzcenter cursor on screenzt / zbcursor to top / bottomPrecision
f{char}jump to next {char} on linet{char}jump before next {char}%jump to matching bracket{num}Ggo to line {num}Pro tip: Combine any motion with a count. 5j drops 5 lines. 3w skips 3 words. Counts become muscle memory faster than you think.