Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does one use Tim Pope's cucumber.vim plugin for vim?

I've loaded the cucumber.vim files into ftplugin and the other directories per instructions, but I don't understand the ftplugin syntax enough to figure out how to get the full benefits.

From what I can tell, the plugin is supposed to be able to jump between step definitions and feature files, but I can't figure out what's wrong with my mapping. It looks as if the mapping is supposed to be the usual ctag map Ctrl+], but that's not working.

Any ideas how to make those mappings work?

Here's a link to the plugin:

http://github.com/tpope/vim-cucumber/tree/master

Cheerio!

like image 217
btelles Avatar asked Aug 28 '09 04:08

btelles


1 Answers

Turns out I didn't have filetype plugin and filetype indent features turned on.

Just add the following to your .vimrc file:

filetype plugin indent on
like image 153
btelles Avatar answered Oct 17 '22 13:10

btelles