Karabiner Elements JSON configuration for Microsoft Remote Desktop
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": "Remote Desktop & TeamViewer", | |
"rules": [ | |
{ | |
"description": "Swap command and control - teocomi", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_control", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_command" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.mac", "com\\.teamviewer\\.TeamViewer", "com\\.microsoft\\.rdc\\.osx\\.beta" | |
] | |
} | |
] | |
}, | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "left_command", | |
"modifiers": { | |
"optional": [ | |
"any" | |
] | |
} | |
}, | |
"to": [ | |
{ | |
"key_code": "left_control" | |
} | |
], | |
"conditions": [ | |
{ | |
"type": "frontmost_application_if", | |
"bundle_identifiers": [ | |
"com\\.microsoft\\.rdc\\.mac", "com\\.teamviewer\\.TeamViewer", "com\\.microsoft\\.rdc\\.osx\\.beta" | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Import with
open "karabiner://karabiner/assets/complex_modifications/import?url=https%3A%2F%2Fgist.githubusercontent.com%2Fteocomi%2F082cf7e0be74fb16747b490d25c00d96%2Fraw%2Fkarabiner-elements-remote-desktop.json"
Works with Remote Desktop and Remote Desktop Beta.