I like rails.vim support for going to the corresponding file. For example, if I’m in the Product model, I can type :Econtroller to open the ProductsController in the same window.
I want to open the controller in either a newly created window or else in a different, but existing window.
How would I do that?
For example, to open a file, you can type :e filename to open in the same window and :sp filename to open in a new window. I want the :sp version of :Econtroller, etc.
Instead of
:Econtrollertype:EScontrollerto open in a new split. There are several more commands in the docs.After checking the third time, I found the answer in plain sight in the docs. see
:help rails-type-navigation