kbar
kbar copied to clipboard
Use action shortcuts with Ctrl/cmd + shift + <any key>
Hey, First of all, awesome library 🙏
I was wondering if there's a way to hook up the action shortcuts with shift and cmd/ctrl keys as part of the combination because currently I am often moving to a different page (because of action shortcut) even when my intention is to type something on the page. The only way to avoid this so far has been to add at least 2-3 keys for a shortcut but it would make more sense if we could add Cmd + Shift + <any key>
instead
Thanks 🙌
As far as I can see, that's easily achieved. Have a look at https://github.com/jamiebuilds/tinykeys
shortcut: ['$mod+Shift+D']
for example works nicely.
But be careful: I just started playing with kbar yesterday. I have no idea if it's supposed to be done this way.
Hey, I created PR for the behavior you described. Also needed such functionality, so maybe we could upvote the issue
https://github.com/timc1/kbar/pull/242
Hey! This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.