Created
January 5, 2021 02:13
-
-
Save spro/9a84c2deb2da0b9b4202eaa4fe082bb0 to your computer and use it in GitHub Desktop.
Karabiner complex mapping to set Control_L to Esc when tapped, or Control when held
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
{ | |
"title": "Control_L to Esc when tapped", | |
"rules": [ | |
{ | |
"description": "Control_L to Esc when tapped, Control when held.", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_control", | |
"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