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?
Thanks for the answers. Now I know that there are two ways of "SAVE AS" in Vim.
Assumed that I'm editing hello.txt.
vim "save as"and this question taught me that there is a:saveasthat works just like I expected: saves the existing file with a new name and opens the new file. - Jacktose