Created
November 3, 2018 18:06
-
-
Save vcaen/2d4e48a632538c51a69aa7c663c8cdb1 to your computer and use it in GitHub Desktop.
Mac remap § to ESC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function keymapRemap() { | |
hidutil property --set '{"UserKeyMapping":[ | |
{ | |
"HIDKeyboardModifierMappingSrc":0x700000064, | |
"HIDKeyboardModifierMappingDst":0x700000029 | |
} | |
]}' | |
} | |
function keymapReset() { | |
hidutil property --set '{"UserKeyMapping":[]}' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great stuff THANX!!!!