Some international language keyboard layouts use modifier keys (such as
Ctrl, or combination of these) to fit extended set of letters, numbers, and symbols and different variations in the keyboard. One such keyboard layout used in our community has mapped a symbol on
Ctrl+Alt+1 which conflicts with the Markdown editor’s keyboard shortcut for
h1 heading. Would it be better to respect the actual character typed (
key) and not just based on the physical key pressed (
code), then make decisions whether to trigger shortcuts only if the combination of the
key attributes match certain criteria? This would only be an issue when a keyboard input is desired such as in the editor.
This is a rather serious problem for international communities. Recently, the Atom editor solved this issue elegantly and blogged about it.