Created
June 3, 2025 23:25
-
-
Save kdkasad/5dfc6aaed15e9260c0cd9b41911cf3fe to your computer and use it in GitHub Desktop.
Custom Caps Lock rule for Karabiner-Elements
This file contains hidden or 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
| { | |
| "description": "Caps Lock -> Escape when tapped, Command+Control+Option+Shift when held, Caps Lock when tapped with Shift held", | |
| "manipulators": [ | |
| { | |
| "description": "Toggle caps lock on shift+caps_lock", | |
| "from": { | |
| "key_code": "caps_lock", | |
| "modifiers": { "mandatory": ["shift"] } | |
| }, | |
| "to": [{ "key_code": "caps_lock" }], | |
| "type": "basic" | |
| }, | |
| { | |
| "description": "Change caps_lock to command+control+option+shift when held, or Escape when tapped.", | |
| "from": { "key_code": "caps_lock" }, | |
| "to": [ | |
| { | |
| "key_code": "left_shift", | |
| "modifiers": ["left_command", "left_control", "left_option"] | |
| } | |
| ], | |
| "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