Vi Quick Reference
http://www.sfu.ca/~yzhang/linux
MOVEMENT
By Character
(lines - ends at ; sentence - ends at puncuation-space; section - ends at )
k h j
By Line nG 0, $ ^ or _ +, By Screen ^F, ^B ^D, ^U ^E, ^Y L z↵ ↵ z. zto line n first, last position on line first non-whitespace char on line first character on next, prev line
l
hjkl
Marking Position on Screen mp mark current position as p (a..z) `p move to mark position p 'p move to first non-whitespace on line w/mark p Miscellaneous Movement fm forward to character m Fm backward to character m tm forward to character before
↧