The US keyboard layout in OS X has a mapping for every option+character. For example option+a is å, option+b is ∫. I never use these. Some applications would use them if they weren't already mapped (notably Eclipse). Is it possible to disable this specific part of the keyboard layout?

Mega ultra bonus points for answers that doesn't require me to install any new software.

link|improve this question
Doesn't Eclipse simply remap its commands to other key combinations? – Daniel Beck Jan 13 at 17:25
feedback

1 Answer

up vote 4 down vote accepted

No, it's not. They are part of the keyboard layout just like any other character, e.g. Shift+a = A, or Shift+' = ". There is no special functionality to selectively disable parts of a keyboard layout, you need to create your own.


You can use Ukelele to create your own keyboard layout based on the US English defaults that does not contain some or any of the mappings that includeOption.

To remove all mappings using Option only, open Ukelele, select File » New From Current Input Source, and select View » Show Modifiers Drawer. Select the entry that is Either Down for Option, and all others Up or Both Up. Select Keyboard » Unlink Modifier Set, and you're done. Change the keyboard ID and name in in the Keyboard menu to prevent collisions, and save it in ~/Library/Keyboard Layouts and select it in System Preferences » Language & Text » Input Source.

This is what Keyboard Viewer shows when you press Option: It's the same as without.

enter image description here

link|improve this answer
Of course, this explanation doesn't cover the Option+Shift combination. It works similar. – Daniel Beck Jan 13 at 17:31
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.