Skip to content

Instantly share code, notes, and snippets.

@YusukeIwaki
Forked from keik/japanese.json
Last active July 11, 2019 03:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YusukeIwaki/520a994728c8399746f9fa885c22ca9c to your computer and use it in GitHub Desktop.
Save YusukeIwaki/520a994728c8399746f9fa885c22ca9c to your computer and use it in GitHub Desktop.
Karabiner-Elements で command + space での IME トグル
{
"title": "For Japanese",
"rules": [
{
"description": "toggle eisuu with command + space",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "spacebar",
"modifiers": { "mandatory": "left_command" }
},
"conditions": [
{
"type": "input_source_if",
"input_sources": [
{ "language": "en" }
]
}
],
"to": [{ "key_code": "japanese_kana" }]
},
{
"type": "basic",
"from": {
"key_code": "spacebar",
"modifiers": { "mandatory": "left_command" }
},
"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