Renaming the current file in Vim

vi, vim

Solution

There's a little plugin that lets you do this.

Problem

How should I rename my current file in Vim? For example: - I am editing `person.html_erb_spec.rb` - I would like it renamed to `person.haml_spec.rb` - I would like to continue editing `person.haml_spec.rb` How would I go about doing this, elegantly?

Original source

Related problems