kbar icon indicating copy to clipboard operation
kbar copied to clipboard

Use action shortcuts with Ctrl/cmd + shift + <any key>

Open alishaz-polymath opened this issue 2 years ago • 2 comments

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 🙌

alishaz-polymath avatar Jul 13 '22 06:07 alishaz-polymath

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.

dehmer avatar Aug 11 '22 07:08 dehmer

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

thecoorum avatar Aug 22 '22 20:08 thecoorum

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.

stale[bot] avatar Oct 21 '22 22:10 stale[bot]