Vim - Navigation


Navigation (normal mode):

  • gg: Go to start of file
  • G: Go to last line in file
  • Ctrl + o: Go to old cursor position (history is kept)
  • Ctrl + i OR Tab: Go to newer cursor position
  • 0 or ^: Go to beginning of line
  • $: Go to end of line
  • w: Beginning of next word
  • e: End of current word
  • b: Beginning of current word
  • Enter: Beginning of next line
  • Number + hjkl: Jump that many lines/characters