1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 15:18:01 +00:00

Add Open Routes File With vim-rails as a vim til

This commit is contained in:
jbranchaud
2016-02-15 17:46:51 -06:00
parent da6f8e41f7
commit d6b5719322
2 changed files with 13 additions and 0 deletions

View File

@@ -374,6 +374,7 @@ _336 TILs and counting..._
- [NETRW Listing Styles](vim/netrw-listing-styles.md)
- [Next Modified Buffer](vim/next-modified-buffer.md)
- [Open an Unnamed Buffer](vim/open-an-unnamed-buffer.md)
- [Open Routes File With vim-rails](vim/open-routes-file-with-vim-rails.md)
- [Opening a URL](vim/opening-a-url.md)
- [Opening Man Pages In Vim](vim/opening-man-pages-in-vim.md)
- [Paste A Register From Insert Mode](vim/paste-a-register-from-insert-mode.md)

View File

@@ -0,0 +1,12 @@
# 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`](https://github.com/tpope/vim-rails).
```
:Einit
```
This is a shortcut for opening initializer files the default of which is the
routes file.