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

Add Open The Gemfile as a vim til

This commit is contained in:
jbranchaud
2016-03-12 07:44:21 -06:00
parent 564f4d4d0e
commit 3327d999b7
2 changed files with 16 additions and 1 deletions

View File

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

14
vim/open-the-gemfile.md Normal file
View File

@@ -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`.