Skip to content


Created on Dec 4, ’22 ・ Updated on Mar 7, ’23


  • i: insert mode
  • ESC: normal mode
  • v: visual mode
  • V: visual line mode

Delete stuff

  • x, X: delete character under, before cursor.
  • d: delete something
  • y: copy something

Move around

  • b, w, e, previous word (beginning), next word, end of next word
  • 0, $, beginning and end of line
  • gg, G, beginning and end of file


  • u, Ctrl+R: undo, redo last command
  • :!<command>, execute a command in shell
  • :r !<command>, execute a command and insert its output in Vim