Created
September 17, 2020 03:58
-
-
Save dat-boris/3850e485003fe11201e553e4218bebf0 to your computer and use it in GitHub Desktop.
For mac. use this to remap keys
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
# Remap F1 to backtick (my backtick is broken, use F1 instead) | |
# https://apple.stackexchange.com/questions/283252/how-do-i-remap-a-key-in-macos-sierra-e-g-right-alt-to-right-control | |
# https://developer.apple.com/library/archive/technotes/tn2450/_index.html | |
hidutil property --set '{"UserKeyMapping": | |
[{"HIDKeyboardModifierMappingSrc":0x70000003a, | |
"HIDKeyboardModifierMappingDst":0x700000035}] | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment