-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Add per view search location and total matches to statusline. #11700
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
2af66e5 to
6813275
Compare
|
love this, was clearly missing |
|
Wonderful, I love this. No noticeable lag on an M1 Mac in a 21k line file with 56k matches for |
e668b57 to
937a79d
Compare
937a79d to
36eb43e
Compare
|
Love it! |
|
Nice! This fills a very similar need to #12326, but for searches instead of selections |
This comment was marked as outdated.
This comment was marked as outdated.
This patch changes `search_impl` to calculate the index of the current match and the total matches in the search. It also adds a new option in the status line to show this information.
The new option `max-matches` can be set to `"none"` or an integer that specifies that maximum number of matches. It's set by default to `100`.
I just rebased my branch. |
This comment was marked as spam.
This comment was marked as spam.
|
discovered an interesting bug. set Here's a recording: compressed.mp4After I go past the last search match, I spam press |
This patch changes
search_implto calculate the index of the current match and the total matches in the search. It also adds a new option in the status line to show this information.