Skip to content
Yuqi Wu edited this page Aug 27, 2016 · 3 revisions

Cursor

  • j [or down-arrow] move cursor down one line
    k [or up-arrow] move cursor up one line
    h or [or left-arrow] move cursor left one character
    l or [or right-arrow] move cursor right one character
  • 0 (zero) move cursor to start of current line $ move cursor to end of current line
  • w move cursor to beginning of next word
    b move cursor back to beginning of preceding word
  • :0 or 1G move cursor to first line in file
    :n or nG move cursor to line n
    :$ or G move cursor to last line in file

Clone this wiki locally