Skip to content

Instantly share code, notes, and snippets.

@mephistobooks
Last active December 25, 2019 06:35
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 mephistobooks/2ef705b5b78bcbaeee9d28285bf58462 to your computer and use it in GitHub Desktop.
Save mephistobooks/2ef705b5b78bcbaeee9d28285bf58462 to your computer and use it in GitHub Desktop.
Karabiner-Elements 半角/全角・漢字キーでトグルする設定
{
"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