Skip to content

Instantly share code, notes, and snippets.

@aalvarado
Last active June 19, 2018 19:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aalvarado/65b4eacb010f66f1756722a30d9af784 to your computer and use it in GitHub Desktop.
Save aalvarado/65b4eacb010f66f1756722a30d9af784 to your computer and use it in GitHub Desktop.
karabiner
{
"title": "Escape enhancements",
"rules": [
{
"description": "Escape toggles capslock if enabled",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "escape",
"modifiers": {
"mandatory": [
"caps_lock"
]
}
},
"to_after_key_up": [
{ "key_code": "caps_lock" },
{ "key_code": "escape"}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment