Created
July 28, 2017 16:54
-
-
Save otijhuis/ac1084920ccdf4163b4ca6e3529e5bf8 to your computer and use it in GitHub Desktop.
Karabiner Elements shift -> parens
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": "Shift -> Parens", | |
"rules": [ | |
{ | |
"description": "map left shift to opening parenthesis", | |
"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 right shift to closing parenthesis", | |
"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
Load from browser with:
karabiner://karabiner/assets/complex_modifications/import?url=file:///path/to/file/shift-parens.json