Skip to content

Instantly share code, notes, and snippets.

@hiattp
Created June 10, 2020 18:19
Show Gist options
  • Save hiattp/e4b2c8b04a6db4f531264ca759e0d2ab to your computer and use it in GitHub Desktop.
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
{
"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