Vim commands

This is a list of Vim commands to remember whilst learning to use the beast that is Vim. Hopefully this list will become extensive and then shorten when I get the commands into my head.

Text editing:
  • Global search and replace
:%s//
  • Search
/
  • Go to next search result
n
  • Deleting the contents of a file
gg
gD