Hi I’m using useHotkeys()
from Mantine for example to handle some keymaps that are outside of CodeMirror. For instance, closing sidebars with Cmd+B. Or opening a command palette using Cmd + Shift + P.
Currently, none of my hotkeys work at all whenever my cursor is focused inside CodeMirror. I’d like to allow most of these hotkeys. I’d rather not redefine every hotkey as an extra extension like:
keymap.of([{ key: 'a', run: handleEnter }]),
Is this possible?