Last active
December 25, 2019 06:35
-
-
Save mephistobooks/2ef705b5b78bcbaeee9d28285bf58462 to your computer and use it in GitHub Desktop.
Karabiner-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
{ | |
"title": "半角/全角キーでIMEトグル2019", | |
"rules": [ | |
{ | |
"description": "JISキーボードの半角/全角キーをIMEのON/OFF切り替えキーに変換する2019", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { "key_code": "grave_accent_and_tilde" }, | |
"to": [ | |
{ | |
"select_input_source": { | |
"input_source_id": "^com\\.google\\.inputmethod\\.Japanese\\.base$" | |
} | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "input_source_unless", | |
"input_sources": [ | |
{ "language": "ja" } | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { "key_code": "grave_accent_and_tilde" }, | |
"to": [ | |
{ | |
"select_input_source": { | |
"input_source_id": "^com\\.google\\.inputmethod\\.Japanese\\.Roman$" | |
} | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "input_source_if", | |
"input_sources": [ | |
{ "language": "ja" } | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment