After opening a file with vi
1) You can press Shift + g to go to the end of the file
and
2) Press g twice to skip to the beginning of the file
NOTE: - g is case sensitive (thanks to @Ben for specifying it)
Vivekanand SV 06 Feb '13 at 4:41 2013-02-06 04:41
source share