Forked from calebporzio/caps_lock_to_command_escape.json
Last active
April 8, 2020 12:39
-
-
Save alexandersix/a8fdfef1f48eac0fadb13cd807566f7d to your computer and use it in GitHub Desktop.
A Karabiner-Elements complex modification rule
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Caps Lock To Control/Escape", | |
"author": "Alexander Six (originally by Caleb Porzio(calebporzio.com))", | |
"homepage": "https://gist.github.com/alexandersix/a8fdfef1f48eac0fadb13cd807566f7d", | |
"import_url": "karabiner://karabiner/assets/complex_modifications/import?url=https://gist.githubusercontent.com/AlexanderSix/a8fdfef1f48eac0fadb13cd807566f7d/raw/60ae796effced8f71d9958371b2539a910c69b2c/caps_lock_to_command_escape.json", | |
"rules": [ | |
{ | |
"description": "Caps Lock to Control/Escape", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "caps_lock", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_control" | |
} | |
], | |
"to_if_alone": [ | |
{ | |
"key_code": "escape" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment