Skip to content

Get user argument (arg) but action differently with Modifiers (Cmd + enter, Alt + enter, etc) #1155

Answered by ramiroaraujo
ramiroaraujo asked this question in Q&A
Discussion options

You must be logged in to vote

For the record, I think I have it: use flags
https://github.com/johnlindquist/kit/blob/main/GUIDE.md#set-options-using-flags

You can set the shortcut to "cmd+enter" for example, and that basically does the trick

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ramiroaraujo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant