Skip to content

Instantly share code, notes, and snippets.

@yudppp
Created October 16, 2021 09:11
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 yudppp/5832460e5652269c9583453dd338bb6e to your computer and use it in GitHub Desktop.
Save yudppp/5832460e5652269c9583453dd338bb6e to your computer and use it in GitHub Desktop.
Left Command + Spaceで英数・かなキーを入れ替えるkarabiner-elementsの設定
{
"title":"Left Command + Spaceで英数・かなキーを入れ替える",
"rules":[
{
"description":"Left Command + Spaceで英数・かなキーを入れ替える",
"manipulators":[
{
"conditions":[
{
"type":"input_source_unless",
"input_sources":[
{
"language":"ja"
}
]
}
],
"type":"basic",
"from":{
"key_code":"spacebar",
"modifiers":{
"mandatory":[
"left_command"
]
}
},
"to":[
{
"key_code":"right_command"
}
],
"to_if_alone":[
{
"key_code":"japanese_kana"
}
]
},
{
"conditions":[
{
"type":"input_source_if",
"input_sources":[
{
"language":"ja"
}
]
}
],
"type":"basic",
"from":{
"key_code":"spacebar",
"modifiers":{
"mandatory":[
"left_command"
]
}
},
"to":[
{
"key_code":"right_command"
}
],
"to_if_alone":[
{
"key_code":"japanese_eisuu"
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment