Cannot reliably use Alt as a modifier in defineShortcuts
I am trying to implement some keyboard shortcuts with defineShortcuts from Nuxt UI. It mostly works great, but using the Alt key as a modifier doesn't really work.
For instance, binding a shortcut to Command-Alt-S does work by defining the shortcut key as
meta_ß
but as far as I can see that would only work on MacOS.
Furthermore, binding a shortcut using alt_f1
only sort of works; Alt+F1 does trigger the shortcut, but so does F1 on its own.
Ideally I would like to be able to use alt
the same way meta
and shift
work, so that shortcuts like meta_alt_s
and alt_f1
work cross-platform. Is there any way to set this up?0 Replies