mirror of
https://github.com/jbranchaud/til
synced 2026-01-11 19:18:01 +00:00
Add Open Routes File With vim-rails as a vim til
This commit is contained in:
12
vim/open-routes-files-with-vim-rails.md
Normal file
12
vim/open-routes-files-with-vim-rails.md
Normal 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.
|
||||
Reference in New Issue
Block a user