feature: limit the number of marks per stack
Did you check the docs?
- [X] I have read all the trailblazer.nvim docs
Is your feature request related to a problem? Please describe.
I have configured flash to drop a new trailblazer mark just before it jumps, allowing me to trailblaze back after a jump.
This is convenient, but as the number of jumps increase the marks can become unmanageable, at which point I must manually delete them.
Describe the solution you'd like
Optionally specify the maximum number N of marks for a given stack. Adding a new mark when there are already N marks in the stack should remove the earliest mark.
This would allow me to efficiently trailblaze the last N jumps.
Describe alternatives you've considered
Configure flash to delete_all_trail_marks() before a jump, but this is quite limiting.
ctrl-o and ctrl-i traverses the neovim jump list, but there are no visual indicators
Additional context
No response
Sounds like an interesting idea. I don't think that I would personally use this since the idea of the trail mark stack is that you jump to and remove the topmost mark whenever you are done with it, so my stacks usually don't grow to an unmanageable size. However, I will look into this. I haven't updated the plugin in some time so it's about time.