I‘m using vim as a text editor and editing a large code file written in python. How do I jump to end of file using vim text editor under Apple Mac OS X Unix operating systems?
You can save a lot of time by using appropriate movement commands in vi or vim text editor. For large file the cursor keys are not the best choice. To move to end of file just type G (press ESC and type capital G):
Sample outputs (jumping from 1st line to line # 82):
You can jump back to beginning of file by typing any one of the following command
You can jump to line number 700 (press ESC type 700G)