vroom


Ⅰ. 插件描述

A vim plugin for running your Ruby tests

Ⅱ. 基本信息

创建日期:  2012-03-29
使用用户:  368
Github星:  231
插件作者:  Mike Skalnik

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'skalnik/vroom'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'skalnik/vroom'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'skalnik/vroom'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/skalnik/vim-vroom

Ⅳ. 文档说明

vroom.vim

Run your Ruby tests! Supports RSpec, Test::Unit/MiniTest, Konacha, and Cucumber.
For more information, check out the
documentation
(available in Vim after installation :help vroom)

Installation

Check out vundle or
pathogen.vim and then install:

vundle

Add the following to your .vimrc after vundle setup:

Plugin 'skalnik/vim-vroom'

and remember to run :PluginInstall.

pathogen

Copy and paste:

$ cd ~/.vim/bundle
$ git clone 'git://github.com/skalnik/vim-vroom.git'

Oddities

If you're using MacVim & (rbenv or rvm) and your tests are running under the wrong Ruby version, check out
this fix.

Credit

I first stumbled upon this snippet of code in [Gary Bernhardt's
.vimrc](https://github.com/garybernhardt/dotfiles/blob/master/.vimrc), and have
modified it, turned it into a plugin and begun improving it. [Steven
Harman](http://github.com/stevenharman) also provided inspiration in the
creation of the plugin, cucumber support, and Gemfile detection.

添加新评论