Show number of search results above/below current viewport (visible lines)
So it's easy to know if all search results are currently visible, or if we're on the last ones, etc..
(is there a way to react to hlsearch activation & nohlsearch ?)
Alternative UI, show (e.g: with virtual text) the match and its count (on current line only):
...
some text with a match
...
the current [match] § match 2 of 3
-------- ^ start of the virtual text --------
...
other match
Edit: Could use https://github.com/kevinhwang91/nvim-hlslens for this! (a customizable Lua plugin)
https://github.com/petertriho/nvim-scrollbar now supports small indicators to show where search results are in the file. Left gutter is for the current lines, and that extensible scrollbar is like a right gutter, about the whole file.
If not the number, at least show there are 1+ results above/below