API feature request: support for detecting single character/other inputs while a note is unfocused

I would like to have the ability to assign single character/other inputs to commands and other actions while a note is unfocused.

For example, assigning the single character s to open the sidebar without needing the command modifier (on Mac).

You can add an event listener for the keydown event on the window or document.

thanks for the reply! looking into it