Created
December 5, 2017 13:55
-
-
Save keik/07884ef00455dfd9acfba7cb57831d5e to your computer and use it in GitHub Desktop.
Karabiner-Elements で shift + space での IME トグル
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": "For Japanese", | |
"rules": [ | |
{ | |
"description": "toggle eisuu with shift + space", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "spacebar", | |
"modifiers": { "mandatory": "left_shift" } | |
}, | |
"conditions": [ | |
{ | |
"type": "input_source_if", | |
"input_sources": [ | |
{ "language": "en" } | |
] | |
} | |
], | |
"to": [{ "key_code": "japanese_kana" }] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "spacebar", | |
"modifiers": { "mandatory": "left_shift" } | |
}, | |
"conditions": [ | |
{ | |
"type": "input_source_if", | |
"input_sources": [ | |
{ "language": "ja" } | |
] | |
} | |
], | |
"to": [{ "key_code": "japanese_eisuu" }] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment