Hey,
I am trying to set up a keyboard shortcut that should work both on windows and mac keyboards, So far, the thing I set up works only on Mac (kinda expected since it only specifies Cmd
button):
keymap.of([
{ key: 'Cmd-Shift-z', run: redo },
]),
So I have 2 questions regarding this:
- Can a single keymap cover both
Cmd
on Mac andCtrl
on Windows as the same button? - All examples that I found for keymaps are using upper case letters, but my setup is not working for
Z
, only forz
. Any idea why?
Thanks.