danro / rename.vim

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

Home Page:http://www.vim.org/scripts/script.php?script_id=1928

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 (infynity@onewest.net)
Updated August 2011 by Dan Rogers (dan@danro.net)

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}

About

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

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


Languages

Language:Vim Script 100.0%