Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/danro/rename.vim

Rename the current file in the vim buffer + retain relative path.
https://github.com/danro/rename.vim

Last synced: 10 days ago
JSON representation

Rename the current file in the vim buffer + retain relative path.

Lists

README

        

Git branch of http://www.vim.org/scripts/script.php?script_id=1928

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

Copyright June 2007 by Christian J. Robinson ([email protected])
Updated August 2011 by Dan Rogers ([email protected])

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

Changes
-------

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

Usage:
------

:rename[!] {newname}