Closed iamcodemaker closed 3 years ago
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.
Jumps should update vim's tag stack using
gettagstack()
andsettagstack()
to make going back easier (no idea if this is supported in neovim). You can currently go back usingC-o
but it follows all moves rather than only code navigation related moves. Supporting the tag stack would allow jumping back usingC-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: https://github.com/neovim/neovim/pull/9951.