neorg
neorg copied to clipboard
following links should push onto the tag stack
Issues
- [X] I have checked existing issues and there are no existing ones with the same request.
Feature description
Following links between or within neorg files behaves a lot like jumping to definitions, such as in the vim help pages. This leads to a reasonable expectation that Ctrl-T will behave like a "back" button on a history stack, but because neorg doesn't push the jumped-from location onto the tag stack that doesn't work.
Following a rabbit hole within one's own notes should be a well-supported behavior, and this would help a lot.
Help
Yes, but I don't know how to start. I would need guidance
Implementation help
I'm willing to help, but I haven't worked in a sizable lua (or [neo]vim) project before and would need pointers on where to get started.
It does effect the jump list though, so <c-o>
works. If you're just looking for a way to deal with this in the short term.
As far as adding this functionality so that you can use the tag stack, I'd start with :h settagstack()