Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

i have new macbook air 13". There is "><" button under Esc. I want to rebind this button to semicolon ";". How? Or please tell me, how can I find Hex for this button, than I can change it by my self in defaultkeybinding.dict :) Thanks

share|improve this question

1 Answer 1

DefaultKeyBinding.dict wouldn't work in a lot of applications, and "<" = (insertText:, ";"); wouldn't change ⌘< to ⌘;.

You could try using KeyRemap4MacBook and saving this as private.xml:

<?xml version="1.0"?>
<root>
<item>
<name>test</name>
<identifier>private.test</identifier>
<autogen>--KeyToKey-- KeyCode::BACKQUOTE, KeyCode::COMMA, ModifierFlag::SHIFT_L</autogen>
</item>
</root>

KeyCode::BACKQUOTE is the same key code as < on ISO keyboards.

The test folder has an XML file with all the predefined remappings.

Another option would be to create a keylayout file with Ukelele.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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