Last active
December 10, 2022 10:20
-
-
Save z11i/efda8a182c42815c2e2c822e96ff189e to your computer and use it in GitHub Desktop.
Karabiner complex modification: Post command+backtick if command+escape is pressed. This is useful to those who use 60% compact keyboards on which backtick/grave keys are replaced with the escape key.
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": "Emit Command+Backtick if Command and Escape are pressed", | |
"rules": [ | |
{ | |
"description": "Change escape to backtick if pressed with command", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "escape", | |
"modifiers": { | |
"mandatory": [ | |
"left_command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "grave_accent_and_tilde", | |
"modifiers": [ | |
"left_command" | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "escape", | |
"modifiers": { | |
"mandatory": [ | |
"right_command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "grave_accent_and_tilde", | |
"modifiers": [ | |
"right_command" | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment