1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-05 08:08:02 +00:00

Add Open The Latest Rails Migration as a vim til

This commit is contained in:
jbranchaud
2016-03-09 17:51:09 -06:00
parent 7091916d7d
commit 1215e60ae9
2 changed files with 18 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
# Open The Latest Rails Migration
The [`rails.vim`](https://github.com/tpope/vim-rails) plugin comes with a
lot of handy helpers for quickly navigating to many parts of a Rails
project. Among these helpers is the `:Emigration` command that makes it easy
to tab complete and navigate to Rails migration files. Often times the
migration you want is the latest migration. There is no need for tab
complete here, just type:
```
:Emigration
```
By default this command opens the latest migration in a new buffer.
See `:h rails-:Emigration` for more details.