diff --git a/README.md b/README.md index 2691416..1b628e4 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/vim/open-routes-files-with-vim-rails.md b/vim/open-routes-files-with-vim-rails.md new file mode 100644 index 0000000..42e4dec --- /dev/null +++ b/vim/open-routes-files-with-vim-rails.md @@ -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.