tpope/vim-rails — Issue #125: [bug] Can't run R... commands after opening and closing single bugger
Author: graudeejs
Created: 2011-10-29 15:15:39+00:00
State: open

Open vim in rails app directory. Run
:Rcontroller something
Then close buffer (:bdelete)

Now if you will try to
:Rcontroller something
it will not work (E492 - not an editor command)

This always happens when you just started vim, open single buffer and close it with :bdelete
I've just tested it, if same happens when you simply open some file in vim (like vim Gemfile) and then close it.
Yup, same thing happens

Now to get vim-rails to work properly you need to restart vim.

BTW, Rails and Rake command seams to be untouched, but other commands suffer from this issue