
:saveas
To save the current file as a new file and switch to that file use the ex command
:saveas filename
The original file is now the alternate file which you can switch to with :e # or ctrl-^
To save the current file as a new file and switch to that file use the ex command
:saveas filename
The original file is now the alternate file which you can switch to with :e # or ctrl-^