Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update the tag stack using gettagstack and settagstack when jumping #1217

Closed
iamcodemaker opened this issue Apr 14, 2021 · 2 comments
Closed

Comments

@iamcodemaker
Copy link

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.

@martskins
Copy link
Collaborator

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.

@iamcodemaker
Copy link
Author

It's totally a duplicate. I'll take a look and see if I can figure out how to make this work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants