vim-cucumber-folding


Ⅰ. 插件描述

Folding pattern for Cucumber features

Ⅱ. 基本信息

创建日期:  2013-08-26
使用用户:  1
Github星:  2
插件作者:  Greggory Rothmeier

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

vim-cucumber-folding

Folding pattern for Cucumber features. It will add fold markers at Background and Scenario lines, making it easy to navigate larger cucumber feature files:

0 Feature: Testing folding
1   This should add fold markers at the Features
2
3 +--  3 lines: Background:--------------------------------------
4 +--  4 lines: Scenario: First Feature--------------------------
5 +--  3 lines: Scenario: Second Feature-------------------------

Installation

I recommend using vundle to install:

Bundle 'greggroth/vim-cucumber-folding'

Contributing

This plugin is tested using vspec, so any pull requests should be accompanied by appropriate tests. To run the tests, use the rake task:

rake test

添加新评论