1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 15:18:01 +00:00
Files
til/vim/open-routes-file-with-vim-rails.md
Patrick Davey 006230f9de Fix mis-spelled vim routes file link.
In the README.md it links to

- [Open Routes File With vim-rails](vim/open-routes-file-with-vim-rails.md)

However, the md file is actually called open-routes-files. This fix
renames the vim/open-routes-files to the singular version.
2017-02-12 17:54:40 +13:00

309 B

Open Routes File With vim-rails

You can quickly pop open the config/routes.rb file for a Rails project by using the following command provided by vim-rails.

:Einit

This is a shortcut for opening initializer files the default of which is the routes file.