Created
June 24, 2019 13:37
-
-
Save nlopin/a62df6aa43db6bd13a61b74656300515 to your computer and use it in GitHub Desktop.
Karabiner: Non modal language switch to RU and EN
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": "Non-modal input language change", | |
"rules": [ | |
{ | |
"description": "Switch to RU", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"input_sources": [ | |
{ | |
"language": "en" | |
} | |
], | |
"type": "input_source_if" | |
} | |
], | |
"from": { | |
"key_code": "r", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
] | |
} | |
}, | |
"to_if_alone": [ | |
{ | |
"select_input_source": { | |
"language": "ru" | |
} | |
} | |
], | |
"type": "basic" | |
} | |
] | |
}, { | |
"description": "Switch to EN", | |
"manipulators": [ | |
{ | |
"conditions": [ | |
{ | |
"input_sources": [ | |
{ | |
"language": "ru" | |
} | |
], | |
"type": "input_source_if" | |
} | |
], | |
"from": { | |
"key_code": "e", | |
"modifiers": { | |
"mandatory": [ | |
"fn" | |
] | |
} | |
}, | |
"to_if_alone": [ | |
{ | |
"select_input_source": { | |
"language": "en" | |
} | |
} | |
], | |
"type": "basic" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One more config for language switch. Left CMD → Eng, Right CMD → RU