Press the ESC key to enter command mode before using these commands.
To move to Do this ...
top of the file 1G bottom of the file G