/vim-bundler

bundler.vim: Lightweight support for Ruby's Bundler

Primary LanguageVim Script

bundler.vim

This is a lightweight bag of Vim goodies for Bundler, best accompanied by rake.vim and/or rails.vim. Features:

  • :Bundle, which wraps bundle.
  • :Bundle open, which opens a gem inside the current Vim instance.
  • 'path' and 'tags' are automatically altered to include all gems from your bundle. (Generate those tags with gem-ctags!)
  • Highlight Bundler keywords in Gemfile.
  • Support for gf in Gemfile.lock, plus syntax highlighting that distinguishes between installed and missing gems.
  • Support for projectionist.vim, including projections based on which gems are bundled.

Installation

Install using your favorite package manager, or use Vim's built-in package support:

mkdir -p ~/.vim/pack/tpope/start
cd ~/.vim/pack/tpope/start
git clone https://tpope.io/vim/bundler.git
vim -u NONE -c "helptags bundler/doc" -c q

Self-Promotion

Like bundler.vim? Follow the repository on GitHub and vote for it on vim.org. And if you're feeling especially charitable, follow tpope on Twitter and GitHub.

License

Copyright (c) Tim Pope. Distributed under the same terms as Vim itself. See :help license.