Last active
April 3, 2019 13:12
-
-
Save pavloconuve/6e45d571b42e47f9d5da1afd7a98aaf9 to your computer and use it in GitHub Desktop.
Remap Caps Lock to Control/Esc/Delete, https://developer.apple.com/library/archive/technotes/tn2450/_index.html
This file contains 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
CAPS_LOCK="0x700000039" | |
DELETE="0x70000002A" | |
ESC="0x700000029" | |
LEFT_CONTROL="0x7000000E0" | |
hidutil property --set "{\"UserKeyMapping\":[{\"HIDKeyboardModifierMappingSrc\":$CAPS_LOCK,\"HIDKeyboardModifierMappingDst\":$LEFT_CONTROL}]}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment