diff --git a/README.md b/README.md index effbe13..2f7e9f5 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ variety of languages and technologies. These are things that don't really warrant a full blog post. These are mostly things I learn by pairing with smart people at [Hashrocket](http://hashrocket.com/). -_361 TILs and counting..._ +_362 TILs and counting..._ --- @@ -398,6 +398,7 @@ _361 TILs and counting..._ - [Open A Tag In A Split Window](vim/open-a-tag-in-a-split-window.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) +- [Open The Gemfile](vim/open-the-gemfile.md) - [Open The Latest Rails Migration](vim/open-the-latest-rails-migration.md) - [Opening a URL](vim/opening-a-url.md) - [Opening Man Pages In Vim](vim/opening-man-pages-in-vim.md) diff --git a/vim/open-the-gemfile.md b/vim/open-the-gemfile.md new file mode 100644 index 0000000..a6e49ef --- /dev/null +++ b/vim/open-the-gemfile.md @@ -0,0 +1,14 @@ +# Open The Gemfile + +One of the central files to any Ruby or Rails project is the `Gemfile`. When +it is time to add or remove a Gem, that is the place to go. The +[`vim-bundler`](https://github.com/tpope/vim-bundler) plugin allows you to +quickly navigate to the project's `Gemfile` by entering the following +command: + +``` +:Bopen +``` + +That command is primarily used for navigating to the source of a particular +Gem, but when used alone, it pops open the `Gemfile`.