Created
September 18, 2020 05:05
-
-
Save skhrv/60488d624bd2881ebe35d0e1d70d067d to your computer and use it in GitHub Desktop.
[Karabiner] Swap non_us_backslash and grave_accent_and_tilde for ru only
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
"rules": [ | |
{ | |
"description": "Swap non_us_backslash and grave_accent_and_tilde for ru only", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"input_sources": [ | |
{ | |
"language": "ru" | |
} | |
], | |
"type": "input_source_if" | |
} | |
], | |
"from": { | |
"key_code": "grave_accent_and_tilde", | |
"modifiers": { | |
"optional": [ | |
"right_shift", | |
"left_shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "non_us_backslash" | |
} | |
], | |
"type": "basic" | |
}, | |
{ | |
"conditions": [ | |
{ | |
"input_sources": [ | |
{ | |
"language": "ru" | |
} | |
], | |
"type": "input_source_if" | |
} | |
], | |
"from": { | |
"key_code": "non_us_backslash", | |
"modifiers": { | |
"optional": [ | |
"right_shift", | |
"left_shift" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "grave_accent_and_tilde" | |
} | |
], | |
"type": "basic" | |
} | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment