Created
July 26, 2021 06:49
-
-
Save ybbond/ac2053542cc3148d83e57ce02976bf99 to your computer and use it in GitHub Desktop.
Complex modification for Karabiner Elements. Lazy means: Only send modifier Hyper Keys when other key pressed together
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
{ | |
"title": "CapsLock to Escape or Hyper", | |
"rules": [ | |
{ | |
"description": "CapsLock to Escape or Hyper", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "caps_lock", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "right_shift", | |
"modifiers": [ | |
"right_command", | |
"right_control", | |
"right_option" | |
], | |
"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