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