how to go to the end of the filein vim code example
Example: vijm jump to end of file
Move cursor to end of file in vim
In short press the Esc key and then press Shift + G to move cursor
to end of file in vi or vim text editor under Linux and Unix-like systems