fzf.vim + vim-bundler
Using vim-plug
" Required dependencies
Plug 'junegunn/fzf'
Plug 'junegunn/fzf.vim'
Plug 'tpope/vim-bundler'
" The plugin
Plug 'dancallaghan/fzfgem.vim'
:Gems
will open a fzf window with a list of gems defined in the current
project's Gemfile
.
If the command errors, you may not be in a file that is covered by the
Gemfile
. From the vim-bundler README:
This plugin cares about the current file, not the current working directory. Edit a file that's covered by a Gemfile.