Search code examples
ruby-on-railsrubyvimrails.vim

rails.vim installed but :Rfind doesnt'work


I've installed rails.vim and it seems to be installed correctly since :Rails! returns rails.vim 5.0.

But, if I'm in an existing Rails project and look for a file :Rfind user I get E492: Not an editor command: Rfind user.

Any suggestions?


Solution

  • Use find instead of Rfind, it would work.

    From the help page of Rails.vim :h Rails

     :Rfind [{file}] Obsolete alias for :find.