Skip to content
Plugin for VIM which allows to rename file even it is open.
Vim script
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.



A command and function that basically does a ":saveas <newfile>" then removes the old filename on the disk.

This plugin is forked from:

With only one fix so far: allows to rename files even file path has spaces.

Simple usage

When you editing a file and you need to rename it, in command mode execute:

:Rename new_file_name.txt


This plugin should work with VIM bundle, so checkout this repo in bundle folder.

If you are not using VIM bundle, then make sure you have the same file in your VIM plugin directory as this repo has.


Original author Christian J. Robinson, contributed by Manni Heumann and Remigijus Jarmalavičius.

You can’t perform that action at this time.