如何使用 Tim Pope 的 cucumber.vim vim 插件?
我已按照说明将 cucumber.vim 文件加载到 ftplugin 和其他目录中,但我对 ftplugin 语法的理解还不足以弄清楚如何获得全部好处。
据我所知,该插件应该能够在步骤定义和功能文件之间跳转,但我无法弄清楚我的映射出了什么问题。看起来映射应该是通常的 ctag 映射 Ctrl+],但这不起作用。
有什么想法可以让这些映射发挥作用吗?
这是该插件的链接:
http://github.com/tpope/vim-cucumber/树/主人
干杯!
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!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
事实证明我没有打开文件类型插件和文件类型缩进功能。
只需将以下内容添加到您的 .vimrc 文件中:
Turns out I didn't have filetype plugin and filetype indent features turned on.
Just add the following to your .vimrc file: