to reach end of file in vi code example
Example 1: vim move to the last line you edited
# Basic syntax:
`.
Example 2: 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