Skip to content
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

Feature request: Option to runcate long search terms in header line #164

Open
Walheimat opened this issue Mar 17, 2024 · 1 comment
Open

Comments

@Walheimat
Copy link
Contributor

This is an edge case but it happens every now and again.

For example, I have the following search term to find various TODO keyword variants:

(HOLD|TODO|NEXT|THEM|PROG|OKAY|DONT|FAIL|DONE|NOTE|MAYBE|KLUDGE|HACK|TEMP|FIXME|XXXX*)

In the results buffer the search term now pushes all other items of the header line out of view.

Would be nice if such cases could be (optionally?) truncated. Maybe the full value would still show up in the help echo that currently says "Change search string"?

So It would say (HOLD|TODO... and the help echo Change search string (HOLD|TODO|NEXT|THEM|PROG|OKAY|DONT|FAIL|DONE|NOTE|MAYBE|KLUDGE|HACK|TEMP|FIXME|XXXX*).

@dajva
Copy link
Owner

dajva commented Sep 7, 2024

Good suggestion. I don't work actively on new features though so unlikely I'd do something about it. PR:s are welcome though. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants