Renaming the current file in Vim
The command is called :saveas, but unfortunately it will not delete your old file, you’ll have to do that manually. see :help saveas for more info. EDIT: Most vim installations have an integrated file explorer, which you can use for such operations. Try :Explore in command mode (I would actually map that to a function … Read more