Go: Moving Around

The g key is how you navigate a document in Vim.

KeyDescription
ggGo to the first line of the document
⇧gGo to the last line of the document
5⇧gGo to the last line of the document