Move the cursor header
gg
Move the cursor end of file
G
Move to the beginning of the line
^
Move to the end of the line
$
To a specific line
: N Enter
Move the cursor header
gg
Move the cursor end of file
G
Move to the beginning of the line
^
Move to the end of the line
$
To a specific line
: N Enter