capture shortcut commands when editor is not focused
micuat opened this issue · comments
maybe useful to avoid confusion - using library such as hotkey
I am a bit nervous as the shortcuts always seem to mess someone up / replace people's existing configurations.... but I agree this would be nice.
Also just to clarify, the browser tab with hydra itself has to be focused for this to work, but not the editor?
looping back to this...I am still confused! What scenarios/key commands in the editor do not work that could work differently?
For example when the tab is open but the editor is not focused, codemirror cannot capture the commands. A simple scenario is - open the editor, press X to close the dialogue, and then press ctrl+shift+enter - the code won't be executed because the editor is not focused.