top | item 40852089

(no title)

bjeanes | 1 year ago

Command + P worked for me in Firefox, but Command + Shift + P did not.

Further, because I don't type in QWERTY, I noticed that _some_ shortcuts seem correctly mapped in my layout, but others are not. The Option+N shortcut for a new note just starts the "˜" combining character (expecting a following character like "n" to form "ñ") when using the "n" key in my layout. However it works if I use the physical "n" key (which is my "k").

I feel like that explanation is pretty poor, but yeah basically some shortcuts seem bound to the physical key location whereas others seem bound to the mapped key. I wonder if they are declared differently?

discuss

order

spartanatreyu|1 year ago

Sounds like it's using event.keyCode (deprecated) or event.code (key button number) instead of event.key (the character that the button represents).

kjksf|1 year ago

I only use that for `Alt + 1` - `Alt + 9` quick access shortcuts.

`Alt + N` for new scratch note is implemented via `Mod-n` CodeMirror keymap (keymap.js) so I'm not sure why it wouldn't work.