Vim explicit command list

Valic —  January 11, 2011 — 1 Comment

Vim is an advanced text editor that seeks to provide the power of the de-facto Unix editor ‘Vi’, with a more complete feature set. It’s useful whether you’re already using vi or using a different editor.

Users of Vim 5 and 6 should consider upgrading to Vim 7.

Cursor movement


  • h – move left
  • j - move down
  • k – move up
  • l – move right
  • w – jump by start of words (punctuation considered words)
  • W – jump by words (spaces separate words)
  • e - jump to end of words (punctuation considered words)
  • E – jump to end of words (no punctuation)
  • b – jump backward by words (punctuation considered words)
  • B – jump backward by words (no punctuation)
  • 0 - (zero) start of line
  • ^ – first non-blank character of line
  • $ - end of line
  • G - Go To command (prefix with number – 5G goes to line 5)

Note: Prefix a cursor movement command with a number to repeat it. For example, 4j moves down 4 lines.

Continue Reading…

Page 1 of 11