Closed dortin42 closed 5 years ago
You can use :Efixtures
to access factories. I don't think FactoryGirl, a popular but by no means standard library, should be given a namesake command in core (but you can create your own with projections).
You can use :Einitializer
and :Eenvironment
to access config/routes.rb
and config/application.rb
, respectively. My personal taste is this is cleaner than having a bunch of one-off commands for one-off config files.
@tpope :Efixtures
works fine to edit factories, but neither :Einitializer
nor :Eenvironment
works to access config/routes.rb
or config/application.rb
:(
Call them with no argument. On Thu, Jan 10, 2019 at 10:02 nintF1link notifications@github.com wrote:
@tpope https://github.com/tpope :Efixtures works fine to edit factories, but neither :Einitializer nor :Eenvironment works to access config/routes.rb or config/application.rb
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/tpope/vim-rails/issues/533#issuecomment-453126022, or mute the thread https://github.com/notifications/unsubscribe-auth/AAABenbNJDsGyrtarmJZCQXgFzFyNMh7ks5vB1YJgaJpZM4Z3hsU .
I think that is a good idea add a shortcut to edit factories, btw with
:Espec factories/factory.rb
does not work :c And:Eroutes
andEapplication
(or:Econfig
simply)