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

Support searching in section headers by default #16

Open
dlvhdr opened this issue Nov 18, 2022 · 1 comment
Open

Support searching in section headers by default #16

dlvhdr opened this issue Nov 18, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@dlvhdr
Copy link

dlvhdr commented Nov 18, 2022

I find it a bit cumbersome to type h: in order to search for a keybinding related to a specific app.
Can it be done so you search in both the section titles and items by default?

@kencx kencx added the enhancement New feature or request label Dec 29, 2022
@kencx
Copy link
Owner

kencx commented Feb 20, 2024

I very much agree with you.

However, more than a year later, I'm still struggling to find a good UX to combine searching in both section headers and items. For example, how should we prioritize search results when there exists a header and item with the same text? If the section header has many constituent rows, it would drown out the rest of the results that are not in the same section.

Two approaches I can think of:

  1. Toggle between showing matches of sections headers (and their items) and non-sections with a hotkey
  2. Prioritize showing matches of section headers over non-sections

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

No branches or pull requests

2 participants