-
-
Save keyz/00313726bddc15afc53a0ea94a58a4ef to your computer and use it in GitHub Desktop.
Complex modification rules for Karabiner Elements to map shift keys to parentheses. Use the URL in the comment to import easily.
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": "Single-hit shift to parentheses", | |
"rules": [ | |
{ | |
"description": "Map single-hit left shift to (", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_shift", | |
"modifiers": { | |
"optional": ["any"] | |
} | |
}, | |
"to_if_alone": [ | |
{ | |
"key_code": "9", | |
"modifiers": ["left_shift"] | |
} | |
], | |
"to": [ | |
{ | |
"key_code": "left_shift" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Map single-hit right shift to )", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "right_shift", | |
"modifiers": { | |
"optional": ["any"] | |
} | |
}, | |
"to_if_alone": [ | |
{ | |
"key_code": "0", | |
"modifiers": ["right_shift"] | |
} | |
], | |
"to": [ | |
{ | |
"key_code": "right_shift" | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment