Created
February 5, 2021 14:27
-
-
Save zvuc/d9ea82be533b025a9c5d377ef6a68c55 to your computer and use it in GitHub Desktop.
[Karabiner] JA fast switcher
This file contains hidden or 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": "Fast switch to/from JA", | |
"rules": [ | |
{ | |
"description": "Fast switch to JA (Opt+Cmd+Space)", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"conditions": [ | |
{ | |
"type": "input_source_unless", | |
"input_sources": [ | |
{ | |
"language": "ja" | |
} | |
] | |
} | |
], | |
"from": { | |
"key_code": "spacebar", | |
"modifiers": { | |
"mandatory": [ | |
"option", | |
"command" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "vk_none" | |
}, | |
{ | |
"select_input_source": { | |
"language": "ja" | |
} | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"description": "Fast switch out from JA -> EN (Caps Lock)", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"conditions": [ | |
{ | |
"type": "input_source_if", | |
"input_sources": [ | |
{ | |
"language": "ja" | |
} | |
] | |
} | |
], | |
"from": { | |
"key_code": "caps_lock" | |
}, | |
"to": [ | |
{ | |
"key_code": "vk_none" | |
}, | |
{ | |
"select_input_source": { | |
"language": "en" | |
} | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment