Add type-ahead search handling#216
Conversation
|
Hmmmm, I'm worried about consistency. I like that you've made sure this can't interfere with other shortcuts, but what if we wanted to add a shortcut like Shift+F to favorite an entry? Then suddenly you can't type F to focus the search which is why I went with an explicit focus shortcut. Is there a reason the / shortcut is annoying to use? |
|
I get your point about consistency. I added this mainly for speed since I often start typing instinctively after remembering a keyword, and the extra Happy to adjust if you’d prefer keeping it strictly shortcut-driven or gating this behind a setting. |
Yeah, I think an off-by-default setting would work for me. |
|
@SUPERCILEX |
|
Sorry, did you forget to push? I don't see any changes besides the merge from master. |
|
Sorry, I pushed it to a different local branch and commented without verifying first. |
Adds type-ahead search to the clipboard menu: when the search field is not focused and the user starts typing, focus moves to search and the typed characters are inserted immediately. This also keeps the existing keyboard shortcuts working by returning handled key events consistently.