How to save as a new file and keep working on the original one in Vim

savesave-asvim

Whenever I use the :sav command, it saves the file with a new name and opens the new file open in Vim.

Is it possible to save the file with a new name but keep the original one open for editing?

Best Answer

Use the :w command with a filename:

:w other_filename