vim-makegreen


Ⅰ. 插件描述

MakeGreen runs make and shows a red or green message bar for success/failure. Speeds the red-green-refactor cycle!

Ⅱ. 基本信息

创建日期:  2009-04-18
使用用户:  300
Github星:  124
插件作者:  Rein Henrichs

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

vim-MakeGreen

makegreen.vim is a vim (http://www.vim.org) plugin that runs make and shows the
test run status with a red or green bar.

Installation

Copy all files to your ~/.vim directory or use Tim Pope's excellent pathogen plugin (http://github.com/tpope/vim-pathogen).

Usage

:MakeGreen % will run make for the current file and show its status with a red or green message bar.

example:

$ cd <your rails/merb root>
$ vim test/unit/user_test.rb

:compiler rubyunit
:MakeGreen %

See [the full documentation] for more.

添加新评论