Created
June 10, 2020 18:19
-
-
Save hiattp/e4b2c8b04a6db4f531264ca759e0d2ab to your computer and use it in GitHub Desktop.
A complex modification rule for Karabiner Elements to enable the use of Escape as both Esc and Ctrl
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
{ | |
"title": "Escape Multifunction", | |
"rules": [ | |
{ | |
"description": "Change Esc to both Esc and Control", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "escape", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_control", | |
"lazy": true | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "escape" | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment