Searching over net shows
:f filename would rename the current file in
vim. But executing this and later exiting
vim, shows the new file with all the contents and also the old file is present with the saved content untill executing the above command.
So, how can we rename the current file we are editing in
EDIT - Any solution that does not involve a plugin, as I guess that would require administrative privileges which I don't have. Any tweaks with config or mapping ?