(Nov-11-2020, 07:31 AM)tdwinfre Wrote: Once I paste name of my version file name in my version file how do I exit the screen once I paste it in. I'm having issues getting back to my shell I'm stuck with my version file name and all the lines below it not able get back to the shell.
Please phrase your problem in a way that it is understandable what are you doing and what is your objective.
To enter current filename in Vim use
CTRL-R %
. This works both in insert mode as well as in command mode.
To enter current filename in normal mode use
"%p
(after the cursor) or
"%P
(before cursor)