How should I rename my current file in Vim?
For example:
person.html_erb_spec.rb
person
How about this (improved by Jake's suggestion):
:exe "!mv % newfilename" | e newfilename