views:

1226

answers:

1

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!

+2  A: 

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
btelles
On Ubuntu you need to add a line before that one that says "filetype off" to force everything to be reloaded.
garethm