update the tag stack using gettagstack and settagstack when jumping
iamcodemaker opened this issue · comments
Jumps should update vim's tag stack using gettagstack()
and settagstack()
to make going back easier (no idea if this is supported in neovim). You can currently go back using C-o
but it follows all moves rather than only code navigation related moves. Supporting the tag stack would allow jumping back using C-t
which works independently from regular moves. Vim's ctag support uses the tag stack.
Support for interacting with the tag stack appears to have been added here: neovim/neovim#9951.
I think this would be nice to implement. I don't have any immediate plans to implement it though, so anyone who wants to give it a try go ahead, otherwise I'll see if I can find some time to add this eventually.
Having said that, I'm closing this as a duplicate of #517. Feel free to re-open if you don't agree it's a duplicate though.
It's totally a duplicate. I'll take a look and see if I can figure out how to make this work.