tpope / vim-cucumber

Vim Cucumber runtime files

Home Page:http://www.vim.org/scripts/script.php?script_id=2973

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some way to go back after jumping to step definition

Mange opened this issue · comments

It would be awesome if vim's tag stack could be used when jumping to step definitions, meaning that <C-t> would jump back again to the feature again.

Perhaps there is some way to get this working without having to add extra functionality to vim-cucumber?

You can <C-^> to jump back to the previous file. Making <C-t> work isn't really feasible. I could remap it, but then it loses its magic when you didn't arrive via Cucumber.

Didn't know about <C-^>; I only knew of :b#<CR> (which is a bit tedious to write every time). Thanks, just what I was looking for.