it’s been requested in the past, but addressing things ad hoc for every use case / keyboard language/layout is untenable. Ideally the user should be able to disable or customize their own shortcuts
i asked on social media if any other web apps let you customize keybinding but didn’t hear a single example. I think it’s because web apps (unlike native ones) have extra contraints so preventing the user from making a keybinding that wouldn’t work in a browser, like cmd-q would be really onerous…
i think the mvp way i’d implement this is listing the shortcuts in handleShortcutsOnKeyUp (n, m, t, etc.) and letting them set a different letter key for them (or blank to disable, or revert to default).
then change these to only use either the defualt or custom event.key (remove event.code)
ui would be in keyboard shortcuts dialog. some keys on the right have an edit button. clicking it lets you input 1 uppercase character. check for collisions with other active keys.
possibly move keyB, etc. logic to userStore? so that it can be referenced by dialog.