Skip to content
Rename the current file in the vim buffer + retain relative path.
Branch: master
Clone or download
danro Merge pull request #2 from AlexJF/master
Fix errors with unescaped characters in path and improved complete.
Latest commit f133763 Mar 24, 2014
Type Name Latest commit message Commit time
Failed to load latest commit information.
plugin Fix typod ')' Jun 17, 2013
.gitignore Initial commit Aug 12, 2011
README.mdown Edit README Aug 12, 2011


Git branch of

rename.vim - Rename a buffer within Vim and on the disk

Copyright June 2007 by Christian J. Robinson (
Updated August 2011 by Dan Rogers (

Distributed under the terms of the Vim license. See ":help license".


  • Now retains path relative to global current directory.
  • Added lowercase "rename" alias.


:rename[!] {newname}
You can’t perform that action at this time.