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
MacOS – Key re-mapping or how get HEX for button
keyboardmacos
Related Question
- MacOS – Bind a CTRL key to custom button
- MacOS – Some files from Google products (preferably Chrome browser) appearing at random places
- MacOS – Can’t swap Caps Lock and Esc keys using Seil
- MacOS – How to Use Keyboard Shortcut ⌘; when ; doesn’t exist as a single key
- The hex ID for Fn key
- MacOS – Mapping USB keyboard Fn key to Option key with DefaultKeyBinding.dict
Best Answer
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:
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.