sponsor Vim development Vim logo Vim Book Ad

Rename2 : Rename the file you are currently editing and keep on editing

 script karma  Rating 25/12, Downloaded by 911    Comments, bugs, improvements  Vim wiki

created by
Manni Heumann
script type
This is really just a bugfix for the original Rename script by Christian J. Robinson (vimscript#1928) which suffered from the fact that it did not consider the possibility that the file in the current buffer might no reside in the current directory.
In my version, the new file will always end up in the directory of the original file.
install details
Simply copy the script to your ~/.vim/plugin directory.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
Rename2.vim 0.1 2009-07-30 6.0 Manni Heumann Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo