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:
@@ -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)
|
||||
|
||||
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