Skip to content

Instantly share code, notes, and snippets.

@chengluyu
Created March 23, 2019 13:55
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 chengluyu/1f8b6b4f5f0fbd4912376864689eb126 to your computer and use it in GitHub Desktop.
Save chengluyu/1f8b6b4f5f0fbd4912376864689eb126 to your computer and use it in GitHub Desktop.
Swap Command and Control When Using Microsoft Remote Desktop
{
"description": "Happy Remote Desktop",
"manipulators": [
{
"from": {
"key_code": "left_command"
},
"to": [
{
"key_code": "left_control"
}
],
"type": "basic",
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.rdc\\.macos$"
],
"type": "frontmost_application_if"
}
]
},
{
"from": {
"key_code": "left_control"
},
"to": [
{
"key_code": "right_command"
}
],
"type": "basic",
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.rdc\\.macos$"
],
"type": "frontmost_application_if"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment