Here's an answer I want about 5 times a day.
In vi, the command to go to the end of the file is G.
But that always leaves me at the start of the last line of the file, if files don't have a blank line at the end.
How can I jump to the end of the file and append a new blank line, so that I can just start typing?
Thanks!
insertmode, if I useG2o, then I am moved to the next line to theEOFand intoinsertmode and when I move back to normal mode another line is created, to which I'm instantly shifted, how to go to insert mode after 2/n lines ? – aspiring1 Jan 05 '20 at 14:32