Created
April 13, 2022 18:46
-
-
Save airblade/7ec172d631f10182729048de0e69573c to your computer and use it in GitHub Desktop.
Karabiner rules elements
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
{ | |
"description": "Left shift -> {", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "left_shift" | |
}, | |
"to_if_alone": { | |
"key_code": "open_bracket", | |
"modifiers": ["left_shift"] | |
}, | |
"to": { | |
"key_code": "left_shift" | |
}, | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Right shift -> {", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "right_shift" | |
}, | |
"to_if_alone": { | |
"key_code": "close_bracket", | |
"modifiers": ["right_shift"] | |
}, | |
"to": { | |
"key_code": "right_shift" | |
}, | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Left shift + right command -> [", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "left_shift", | |
"modifiers": { | |
"mandatory": ["right_command"] | |
} | |
}, | |
"to": { | |
"key_code": "open_bracket" | |
}, | |
"type": "basic" | |
} | |
] | |
}, | |
{ | |
"description": "Right shift + left command -> ]", | |
"manipulators": [ | |
{ | |
"from": { | |
"key_code": "right_shift", | |
"modifiers": { | |
"mandatory": ["left_command"] | |
} | |
}, | |
"to": { | |
"key_code": "close_bracket" | |
}, | |
"type": "basic" | |
} | |
] | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This seems to lead to some odd behaviour...