Vim Text Editor Common Commands
Posted on January 23, 2017 in Linux, Vim by Matt Jennings

Cursor Movement

  • gg
    Jump to first line of document.
  • G
    Jump to last line of document.
  • 0
    Jump to first character of current line.
  • $
    Jump to last character of current line.
  • H
    Move to top of screen.
  • M
    Move to middle of screen.
  • L
    Move to bottom of screen.
  • Ctrl + u
    Move half page up.
  • Ctrl + d
    Move half page down.
  • Ctrl + b
    Page up.
  • Ctrl + f
    Page down.

Leave a Reply

To Top ↑