Ⅰ. 插件描述
Bundler helpers for Emacs.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'tobiassvn/bundler-el'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'tobiassvn/bundler-el'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'tobiassvn/bundler-el'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/tobiassvn/bundler.el
Ⅳ. 文档说明
# bundler.el
Interact with Bundler from Emacs.
Overview
1) bundle-open wraps bundle open which, if the given gem is installed
and has been required correctly, will open the gem's source directory
with dired.
2) bundle-console starts an inferior ruby process in the context of the
current bundle using 'bundle console' (requires inf-ruby to be installed).
3) bundle-install, bundle-update, bundle-check run the corresponding
Bundler commands with async-shell-command and *Bundler* as the
target buffer. This exists so the output won't mess with the default
buffer used by M-& and async-shell-command.
Installation
$ cd ~/.emacs.d/vendor
$ git clone git://github.com/tobiassvn/bundler.el.git
In your Emacs config:
(add-to-list 'load-path "~/.emacs.d/vendor/bundler.el")
(require 'bundler)
License
Copyright 2011 (c) Tobias Svensson <tob@tobiassvensson.co.uk>
Released under the same license as GNU Emacs.