TLDR
I'm looking for a way to disable the Option + Key = Symbol behaviour of most keyboard layouts (like US and dvorak), but still allow the application to capture those keypresses.
Ideal solution
Make Option + Key send exactly that to the application: Option + Key. Which means, the part where Option + Key gets turned into a symbol is disabled, while retaining all other behaviours of the layout. This, regardless of the layout that happens to be selected, be it US, dvorak, or any other layout.
Problem description and attempted solutions so-far
When using the "U.S.", "ABC", "ABC extended", or "dvorak" layouts, Option + Key gives symbols.
- This is problematic, as in some applications (e.g. VS Code) these cannot all be used for keyboard shortcuts. For example, Option + T works as a shortcut, but Option + N gives
˜(the issue probably due to it being a dead key that is waiting for the second input).
The "Unicode Hex Input" layout does not do symbols. With it, Option + Key is no longer a problem; the symbols are gone, and the active application can capture the keypresses so the keyboard shortcuts work. Perfect. Or is it?
- It is not. One issue is that "Unicode Hex Input" has qwerty-layout, and an equivalent dvorak layout does not seem to exists. A second issue is that, in this layout, other and common shortcuts no longer universally work. For example, in firefox, word and powerpoint, Option + Left/Right no longer moves the cursor to the previous/next word. (Although confusingly, VS Code does not suffer from this issue.)


˜. Is that possible? – ElRudi Feb 07 '24 at 08:59