rename.vim
rename.vim copied to clipboard
Rename the current file in the vim buffer + retain relative path.
rename.vim doesn't respect casing in certain cases: ```txt " if file is named Foo.md, this will not rename the file/buffer :Rename foo.md " if file is named foo.md, this will...
If you automatically trim spaces when you write a buffer via something like `%s/\s\+$//e` and there is nothing to trim, you get an _E486: Pattern not found: …_. This error...
I wish I could execute: ``` :Rename ~/foobar.txt :Rename /tmp/foobar.txt ``` But this currently does not work. It always adds `./` (actually, the current path) before the destination name. This...