Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pinebright/18ad71891864f0497bfc24e30c148462 to your computer and use it in GitHub Desktop.
Save pinebright/18ad71891864f0497bfc24e30c148462 to your computer and use it in GitHub Desktop.
[karabiner-elements]ALT <=> CMD in Microsoft Remote Desktop
{
"title": "ALT <=> CMD in Microsoft Remote Desktop",
"rules": [
{
"description": "Swap option and command in Autodesk Maya",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "left_option",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_command"
}
],
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"com\\.microsoft\\.rdc\\."
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "left_command",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_option"
}
],
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"com\\.microsoft\\.rdc\\."
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "right_option",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_command"
}
],
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"com\\.microsoft\\.rdc\\."
]
}
]
},
{
"type": "basic",
"from": {
"key_code": "right_command",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_option"
}
],
"conditions": [
{
"type": "frontmost_application_if",
"bundle_identifiers": [
"com\\.microsoft\\.rdc\\."
]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment