vim-vroom


Ⅰ. 插件描述

A vim plugin for running your Ruby tests

Ⅱ. 基本信息

创建日期:  2012-03-29
使用用户:  3
Github星:  0
插件作者:  Michael Stock

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

vroom.vim

Run your Ruby tests! Supports RSpec, Test::Unit/MiniTest, 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:

Bundle 'skalnik/vim-vroom'

and remember to run :BundleInstall.

pathogen

Copy and paste:

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

Oddities

If you're using MacVim & rbenv 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.

添加新评论