Permalink
Browse files

Rename current file in vim buffer

* Retain relative path.
* Save file.
* Do not keep old file open in buffer.

Usage:

    :e old_file_name.rb
    :Rename new_file_name.rb
  • Loading branch information...
1 parent 21ca138 commit b0ab55d50d3884483068dc7a0b368b46733581fa @croaky croaky committed Mar 2, 2013
Showing with 2 additions and 0 deletions.
  1. +1 −0 vim/bundle/rename.vim
  2. +1 −0 vimrc
Submodule rename.vim added at a3e5a3
View
@@ -26,6 +26,7 @@ Bundle 'gmarik/vundle'
" Define bundles via Github repos
Bundle 'croaky/vim-colors-github'
+Bundle 'danro/rename.vim'
Bundle 'kchmck/vim-coffee-script'
Bundle 'kien/ctrlp.vim'
Bundle 'nanki/treetop.vim'

0 comments on commit b0ab55d

Please sign in to comment.