Closed Canop closed 3 months ago
Thanks for this. Could there be a horizontal line break of sorts, between search results that aren't next to each other?
It's possible:
Now I have a bunch of things to check, and also to update the doc for the skin entry, and modify all skins...
Can you check if everything looks right ?
note: there's no separator when lines_before and lines_after are 0, to keep it dense.
Thanks! Looks good to me.
I need to support the tab to go to next match
Done. Now you can go to next match with tab
and the previous one with shift-tab
(with default bindings).
This is needed since the down and arrow keys don't jump to the next/previous matching line.
Question is... Should I set lines_before_match_in_preview
and lines_after_match_in_preview
to 0
or 1
by default ?
Up to you I suppose.
Ripgrep itself doesn't enable this by default.
Setting this to 0 will keep the previous behavior, and 1 will help people notice this feature.
Personally I set this to 2.
New settings:
Fix #756