Skip to content

Instantly share code, notes, and snippets.

@samveen
Created May 27, 2018 01:26
Show Gist options
  • Save samveen/90d7ad3ccd14ff1dc247be51728e893c to your computer and use it in GitHub Desktop.
Save samveen/90d7ad3ccd14ff1dc247be51728e893c to your computer and use it in GitHub Desktop.
Karabiner-Elements complex_modifications rule to map `ctrl+backtick` to `esc`
{
"title": "control grave accent (backtick) posts escape",
"rules": [
{
"description": "Post Escape if Left Ctrol + grave_accent_and_tilde (backtick) is pressed.",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "grave_accent_and_tilde",
"modifiers": {
"mandatory": [ "left_command" ],
"optional": [ "caps_lock" ]
}
},
"to": [
{
"key_code": "escape"
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment