Sample Header Ad - 728x90

Disable Option+Key=Symbol behavior of arbitrary keyboard layout in MacOS

5 votes
2 answers
1094 views
### 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](https://en.wikipedia.org/wiki/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.)
Asked by ElRudi (223 rep)
Feb 5, 2024, 08:46 PM
Last activity: Jun 8, 2025, 04:27 AM