Last active
June 24, 2021 18:03
-
-
Save rybarix/4941119360248c31833ae8993a20d060 to your computer and use it in GitHub Desktop.
macOS remap § to `. Non US keyboards remap keys. (Macbook pro, Mac)
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 keys (macOS) | |
# remaps "§" to "`" | |
hidutil property --set '{"UserKeyMapping":[ | |
{"HIDKeyboardModifierMappingSrc":0x700000035,"HIDKeyboardModifierMappingDst":0x700000064}, | |
{"HIDKeyboardModifierMappingSrc":0x700000064,"HIDKeyboardModifierMappingDst":0x700000035} | |
]}' > /dev/null 2>&1 | |
# Store file at home directory. | |
# System Preferences > Users & Groups > Login Items > + button and add script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment