Created
June 26, 2017 03:30
-
-
Save marcisme/4789ebc09f25c031803989c53527530d to your computer and use it in GitHub Desktop.
Karabiner Elements Config
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
{ | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"rules": [ | |
{ | |
"manipulators": [ | |
{ | |
"description": "Change caps_lock to control when used as modifier, escape when used alone", | |
"from": { | |
"key_code": "caps_lock", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_control" | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "escape", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"description": "Change left_control to command+control+option.", | |
"from": { | |
"key_code": "left_control", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_control", | |
"modifiers": [ | |
"left_command", | |
"left_option" | |
] | |
} | |
], | |
"type": "basic" | |
} | |
] | |
} | |
] | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment