Vim Cucumber runtime files
Switch branches/tags
Nothing to show
Clone or download
Latest commit bcb119c Feb 11, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
compiler Fix false positive on summary line Sep 18, 2014
ftdetect Initial commit Nov 24, 2008
ftplugin Allow to overwrite Cucumber steps glob Apr 1, 2015
indent Use shiftwidth() when available Feb 11, 2016
syntax Sync with upstream Apr 3, 2014
README.markdown Add README May 4, 2014

README.markdown

vim-cucumber

This is the development version of Vim's included runtime files for the Ruby acceptance testing framework Cucumber. It provides syntax highlighting, indenting, and some editing commands.

Commands

vim-cucumber provides commands to jump from steps to step definitions in feature files.

In normal mode, pressing [<C-d> or ]<C-d> on a step jumps to the corresponding step definition and replaces the current buffer. <C-W>d or <C-w><C-d> on a step jumps to its definition in a new split buffer and moves the cursor there. [d or ]d on a step opens the step definition in a new split buffer while maintaining the current cursor position.

Installation

If you don't have a preferred installation method, I recommend installing pathogen.vim, and then simply copy and paste:

cd ~/.vim/bundle
git clone git://github.com/tpope/vim-cucumber.git