Jumper to a visible language control-structure
A way to jump to a currently visible control structure like if, while, return, def, try, .....
Or to hint only lines with a control structure (less hints) And where there are multiple consecutive lines, -> only add hint to the first line of a 2 lines group -> only add hints to the first & last line of a 3+ lines group
👉 This would allow to stop moving up/down by relative lines over lots of lines (still ok for short vertical movements), because it's annoying to distinguish (read) and type a 2 digit number.
Maybe use Hop with its upcoming general hint mode?
Cf: https://github.com/phaazon/hop.nvim/pull/163
The alternative could be:
- to use a jumper to lines (but for a 60-lines window that will be a lots of hints, and hard to target)
- to use a jumper to every 5/10 lines, but less precise
A plugin that does this, using treesitter: https://github.com/mfussenegger/nvim-treehopper

It would be nice to not gray out everything, and keep the buffer colors of the target keywords (but gray out everything else)