Skip to content

Instantly share code, notes, and snippets.

@spro
Created January 5, 2021 02:13
Embed
What would you like to do?
Karabiner complex mapping to set Control_L to Esc when tapped, or Control when held
{
"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