- 後述の4remotewindows.jsonを、
~/.config/karabiner/assets/complex_modifications
に配置する。 - Karabiner-Elementsの[Complex modifications]-[Add rule]より、1の設定を「Enable」する。
- Windowsの[Microsoft IME の設定]-[詳細設定]-[キー設定]-[変更]から、「Ctrl+SPACE」の「入力/変換済み文字なし」を「IME-オン/オフ」に変更する。
4remotewindows.json
{
"title": "For Remote Windows",
"rules": [
{
"description": "Switch IME Mode with Command+SPACE",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "spacebar",
"modifiers": {
"mandatory":["left_command"]
}
},
"to": [
{
"key_code": "spacebar",
"modifiers": "left_control"
}
],
"conditions":[
{
"type": "frontmost_application_if",
"bundle_identifiers":[
"^com\\.amazon\\.workspaces$",
"^com\\.microsoft\\.rdc\\.macos$"
],
"description": "対象アプリを追加する場合は、bundelidentifierを追記"
}
]
}
]
}
]
}