One way to go to last line of a file in vim/vi is to type:
G
To go back up to first line within same file, type:
1G
OR
gg
One way to go to last line of a file in vim/vi is to type:
G
To go back up to first line within same file, type:
1G
OR
gg