55

GitHub - tpope/vim-bundler: bundler.vim: Lightweight support for Ruby's...

 6 years ago
source link: https://github.com/tpope/vim-bundler
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.markdown

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.
  • An internalized version of bundle open: :Bopen (and :Bsplit, :Btabedit, etc.).
  • '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

If you don't have a preferred installation method, I recommend installing pathogen.vim, and then simply copy and paste:

cd ~/.vim/bundle
git clone git://github.com/tpope/vim-bundler.git

Once help tags have been generated, you can view the manual with :help bundler.

FAQ

I installed the plugin and started Vim. Why don't any of the commands exist?

This plugin cares about the current file, not the current working directory. Edit a file that's covered by a Gemfile.

I opened a new tab. Why don't any of the commands exist?

This plugin cares about the current file, not the current working directory. Edit a file that's covered by a Gemfile.

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.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK