Skip to content

Instantly share code, notes, and snippets.

@choan
Created December 4, 2021 17:53
Show Gist options
  • Save choan/75db6577dc296dd70c883ce023c8b3c3 to your computer and use it in GitHub Desktop.
Save choan/75db6577dc296dd70c883ce023c8b3c3 to your computer and use it in GitHub Desktop.
Karabiner rules to activate/deactivate Caps Lock layer using Ctrl + ESC
{
"title": "Ctrl + ESC -> Caps Lock",
"rules": [
{
"description": "Ctrl + ESC -> Caps Lock",
"manipulators": [
{
"from" : {
"key_code" : "escape",
"modifiers" : {
"mandatory" : [ "left_control" ],
"optional" : [ "caps_lock" ]
}
},
"to" : [
{
"key_code" : "caps_lock",
"modifiers" : [ "left_control" ]
}
],
"type" : "basic"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment