Created
January 12, 2022 22:53
-
-
Save na47io/8a0fba5152791c4caf012d7b13cb2c30 to your computer and use it in GitHub Desktop.
Mac to Windows10 RDP key bindigs
This file contains hidden or 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": "Mac OSX Style Shortcuts for RDP sessions. Translates OSX shortcuts to PC equivalent", | |
| "maintainers": [ | |
| "varp" | |
| ], | |
| "rules": [ | |
| { | |
| "description": "Mac OSX RDP: Home key to the beginning of the sentence (Command + Left)", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "parameters": { | |
| "basic.simultaneous_threshold_milliseconds": 500 | |
| }, | |
| "to": { | |
| "simultaneous": [ | |
| { | |
| "key_code": "left_command" | |
| }, | |
| { | |
| "key_code": "left_arrow" | |
| } | |
| ] | |
| }, | |
| "from": [ | |
| { | |
| "key_code": "home" | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc$", | |
| "^com\\.microsoft\\.rdc\\.mac$", | |
| "^com\\.microsoft\\.rdc\\.macos$", | |
| "^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
| "^com\\.thinomenon\\.RemoteDesktopConnection$", | |
| "^com\\.teamviewer\\.TeamViewer$", | |
| "^com\\.vmware\\.horizon$" | |
| ], | |
| "type": "frontmost_application_if" | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Mac OSX RDP: End key to the end of the sentence (Command + Right)", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "parameters": { | |
| "basic.simultaneous_threshold_milliseconds": 500 | |
| }, | |
| "to": { | |
| "simultaneous": [ | |
| { | |
| "key_code": "left_command" | |
| }, | |
| { | |
| "key_code": "right_arrow" | |
| } | |
| ] | |
| }, | |
| "from": [ | |
| { | |
| "key_code": "end" | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc$", | |
| "^com\\.microsoft\\.rdc\\.mac$", | |
| "^com\\.microsoft\\.rdc\\.macos$", | |
| "^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
| "^com\\.thinomenon\\.RemoteDesktopConnection$", | |
| "^com\\.teamviewer\\.TeamViewer$", | |
| "^com\\.vmware\\.horizon$" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Mac OSX RDP: Option(Alt)+Tab as Switch Application (Command+Tab)", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "to": { | |
| "key_code": "tab", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ], | |
| "optional": [ | |
| "shift" | |
| ] | |
| } | |
| }, | |
| "from": [ | |
| { | |
| "key_code": "tab", | |
| "modifiers": [ | |
| "command" | |
| ] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc$", | |
| "^com\\.microsoft\\.rdc\\.mac$", | |
| "^com\\.microsoft\\.rdc\\.macos$", | |
| "^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
| "^com\\.thinomenon\\.RemoteDesktopConnection$", | |
| "^com\\.teamviewer\\.TeamViewer$", | |
| "^com\\.vmware\\.horizon$" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Mac OSX RDP: Copy/Paste/Cut", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "to": { | |
| "key_code": "c", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ] | |
| } | |
| }, | |
| "from": [ | |
| { | |
| "key_code": "c", | |
| "modifiers": [ | |
| "control" | |
| ] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc$", | |
| "^com\\.microsoft\\.rdc\\.mac$", | |
| "^com\\.microsoft\\.rdc\\.macos$", | |
| "^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
| "^com\\.thinomenon\\.RemoteDesktopConnection$", | |
| "^com\\.teamviewer\\.TeamViewer$", | |
| "^com\\.vmware\\.horizon$" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "basic", | |
| "to": { | |
| "key_code": "v", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ] | |
| } | |
| }, | |
| "from": [ | |
| { | |
| "key_code": "v", | |
| "modifiers": [ | |
| "control" | |
| ] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc$", | |
| "^com\\.microsoft\\.rdc\\.mac$", | |
| "^com\\.microsoft\\.rdc\\.macos$", | |
| "^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
| "^com\\.thinomenon\\.RemoteDesktopConnection$", | |
| "^com\\.teamviewer\\.TeamViewer$", | |
| "^com\\.vmware\\.horizon$" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "basic", | |
| "to": { | |
| "key_code": "x", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ] | |
| } | |
| }, | |
| "from": [ | |
| { | |
| "key_code": "x", | |
| "modifiers": [ | |
| "control" | |
| ] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc$", | |
| "^com\\.microsoft\\.rdc\\.mac$", | |
| "^com\\.microsoft\\.rdc\\.macos$", | |
| "^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
| "^com\\.thinomenon\\.RemoteDesktopConnection$", | |
| "^com\\.teamviewer\\.TeamViewer$", | |
| "^com\\.vmware\\.horizon$" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Mac OSX RDP: Alt+Left/Right to Control+Left/Right", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "to": { | |
| "key_code": "left_arrow", | |
| "modifiers": { | |
| "mandatory": [ | |
| "left_option" | |
| ], | |
| "optional": [ | |
| "shift" | |
| ] | |
| } | |
| }, | |
| "from": [ | |
| { | |
| "key_code": "left_arrow", | |
| "modifiers": [ | |
| "control" | |
| ] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc$", | |
| "^com\\.microsoft\\.rdc\\.mac$", | |
| "^com\\.microsoft\\.rdc\\.macos$", | |
| "^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
| "^com\\.thinomenon\\.RemoteDesktopConnection$", | |
| "^com\\.teamviewer\\.TeamViewer$", | |
| "^com\\.vmware\\.horizon$" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "basic", | |
| "to": { | |
| "key_code": "right_arrow", | |
| "modifiers": { | |
| "mandatory": [ | |
| "left_option" | |
| ], | |
| "optional": [ | |
| "shift" | |
| ] | |
| } | |
| }, | |
| "from": [ | |
| { | |
| "key_code": "right_arrow", | |
| "modifiers": [ | |
| "control" | |
| ] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc$", | |
| "^com\\.microsoft\\.rdc\\.mac$", | |
| "^com\\.microsoft\\.rdc\\.macos$", | |
| "^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
| "^com\\.thinomenon\\.RemoteDesktopConnection$", | |
| "^com\\.teamviewer\\.TeamViewer$", | |
| "^com\\.vmware\\.horizon$" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Mac OSX RDP: Undo", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "to": { | |
| "key_code": "z", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ] | |
| } | |
| }, | |
| "from": [ | |
| { | |
| "key_code": "z", | |
| "modifiers": [ | |
| "control" | |
| ] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc$", | |
| "^com\\.microsoft\\.rdc\\.mac$", | |
| "^com\\.microsoft\\.rdc\\.macos$", | |
| "^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
| "^com\\.thinomenon\\.RemoteDesktopConnection$", | |
| "^com\\.teamviewer\\.TeamViewer$", | |
| "^com\\.vmware\\.horizon$" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Mac OSX RDP: Redo", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "to": { | |
| "key_code": "z", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command", | |
| "shift" | |
| ] | |
| } | |
| }, | |
| "from": [ | |
| { | |
| "key_code": "z", | |
| "modifiers": [ | |
| "left_control", | |
| "left_shift" | |
| ] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc$", | |
| "^com\\.microsoft\\.rdc\\.mac$", | |
| "^com\\.microsoft\\.rdc\\.macos$", | |
| "^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
| "^com\\.thinomenon\\.RemoteDesktopConnection$", | |
| "^com\\.teamviewer\\.TeamViewer$", | |
| "^com\\.vmware\\.horizon$" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Mac OSX RDP: Select-All", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "to": { | |
| "key_code": "a", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ] | |
| } | |
| }, | |
| "from": [ | |
| { | |
| "key_code": "a", | |
| "modifiers": [ | |
| "control" | |
| ] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc$", | |
| "^com\\.microsoft\\.rdc\\.mac$", | |
| "^com\\.microsoft\\.rdc\\.macos$", | |
| "^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
| "^com\\.thinomenon\\.RemoteDesktopConnection$", | |
| "^com\\.teamviewer\\.TeamViewer$", | |
| "^com\\.vmware\\.horizon$" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Mac OSX RDP: Save", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "to": { | |
| "key_code": "s", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ] | |
| } | |
| }, | |
| "from": [ | |
| { | |
| "key_code": "s", | |
| "modifiers": [ | |
| "control" | |
| ] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc$", | |
| "^com\\.microsoft\\.rdc\\.mac$", | |
| "^com\\.microsoft\\.rdc\\.macos$", | |
| "^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
| "^com\\.thinomenon\\.RemoteDesktopConnection$", | |
| "^com\\.teamviewer\\.TeamViewer$", | |
| "^com\\.vmware\\.horizon$" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Mac OSX RDP: New", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "to": { | |
| "key_code": "n", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ] | |
| } | |
| }, | |
| "from": [ | |
| { | |
| "key_code": "n", | |
| "modifiers": [ | |
| "control" | |
| ] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc$", | |
| "^com\\.microsoft\\.rdc\\.mac$", | |
| "^com\\.microsoft\\.rdc\\.macos$", | |
| "^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
| "^com\\.thinomenon\\.RemoteDesktopConnection$", | |
| "^com\\.teamviewer\\.TeamViewer$", | |
| "^com\\.vmware\\.horizon$" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Mac OSX RDP: Reload browser page Command+R to F5", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "parameters": { | |
| "basic.simultaneous_threshold_milliseconds": 500 | |
| }, | |
| "to": { | |
| "simultaneous": [ | |
| { | |
| "key_code": "left_command" | |
| }, | |
| { | |
| "key_code": "r" | |
| } | |
| ] | |
| }, | |
| "from": [ | |
| { | |
| "key_code": "f5" | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc$", | |
| "^com\\.microsoft\\.rdc\\.mac$", | |
| "^com\\.microsoft\\.rdc\\.macos$", | |
| "^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
| "^com\\.thinomenon\\.RemoteDesktopConnection$", | |
| "^com\\.teamviewer\\.TeamViewer$", | |
| "^com\\.vmware\\.horizon$" | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "type": "basic", | |
| "to": { | |
| "key_code": "r", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command", | |
| "shift" | |
| ] | |
| } | |
| }, | |
| "from": [ | |
| { | |
| "key_code": "f5", | |
| "modifiers": [ | |
| "left_control" | |
| ] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc$", | |
| "^com\\.microsoft\\.rdc\\.mac$", | |
| "^com\\.microsoft\\.rdc\\.macos$", | |
| "^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
| "^com\\.thinomenon\\.RemoteDesktopConnection$", | |
| "^com\\.teamviewer\\.TeamViewer$", | |
| "^com\\.vmware\\.horizon$" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Mac OSX RDP: New Tab", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "to": { | |
| "key_code": "t", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ] | |
| } | |
| }, | |
| "from": [ | |
| { | |
| "key_code": "t", | |
| "modifiers": [ | |
| "control" | |
| ] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc$", | |
| "^com\\.microsoft\\.rdc\\.mac$", | |
| "^com\\.microsoft\\.rdc\\.macos$", | |
| "^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
| "^com\\.thinomenon\\.RemoteDesktopConnection$", | |
| "^com\\.teamviewer\\.TeamViewer$", | |
| "^com\\.vmware\\.horizon$" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Mac OSX RDP: Find", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "to": { | |
| "key_code": "f", | |
| "modifiers": { | |
| "mandatory": [ | |
| "left_command" | |
| ] | |
| } | |
| }, | |
| "from": [ | |
| { | |
| "key_code": "f", | |
| "modifiers": [ | |
| "control" | |
| ] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc$", | |
| "^com\\.microsoft\\.rdc\\.mac$", | |
| "^com\\.microsoft\\.rdc\\.macos$", | |
| "^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
| "^com\\.thinomenon\\.RemoteDesktopConnection$", | |
| "^com\\.teamviewer\\.TeamViewer$", | |
| "^com\\.vmware\\.horizon$" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Mac OSX RDP: Open", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "to": { | |
| "key_code": "o", | |
| "modifiers": { | |
| "mandatory": [ | |
| "left_command" | |
| ] | |
| } | |
| }, | |
| "from": [ | |
| { | |
| "key_code": "o", | |
| "modifiers": [ | |
| "control" | |
| ] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc$", | |
| "^com\\.microsoft\\.rdc\\.mac$", | |
| "^com\\.microsoft\\.rdc\\.macos$", | |
| "^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
| "^com\\.thinomenon\\.RemoteDesktopConnection$", | |
| "^com\\.teamviewer\\.TeamViewer$", | |
| "^com\\.vmware\\.horizon$" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Mac OSX RDP: Close Window", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "to": { | |
| "key_code": "w", | |
| "modifiers": { | |
| "mandatory": [ | |
| "left_command" | |
| ] | |
| } | |
| }, | |
| "from": [ | |
| { | |
| "key_code": "w", | |
| "modifiers": [ | |
| "control" | |
| ] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc$", | |
| "^com\\.microsoft\\.rdc\\.mac$", | |
| "^com\\.microsoft\\.rdc\\.macos$", | |
| "^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
| "^com\\.thinomenon\\.RemoteDesktopConnection$", | |
| "^com\\.teamviewer\\.TeamViewer$", | |
| "^com\\.vmware\\.horizon$" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Mac OSX RDP: Fn+Space To Switch Input (Left Shift+Left Alt)", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc$", | |
| "^com\\.microsoft\\.rdc\\.mac$", | |
| "^com\\.microsoft\\.rdc\\.macos$", | |
| "^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
| "^com\\.thinomenon\\.RemoteDesktopConnection$", | |
| "^com\\.teamviewer\\.TeamViewer$", | |
| "^com\\.vmware\\.horizon$" | |
| ], | |
| "type": "frontmost_application_if" | |
| } | |
| ], | |
| "to": { | |
| "key_code": "spacebar", | |
| "modifiers": { | |
| "mandatory": [ | |
| "fn" | |
| ] | |
| } | |
| }, | |
| "from": [ | |
| { | |
| "key_code": "left_shift", | |
| "modifiers": [ | |
| "left_option" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Mac OSX RDP: Cmd+Space To Switch Input (Left Shift+Left Alt)", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc$", | |
| "^com\\.microsoft\\.rdc\\.mac$", | |
| "^com\\.microsoft\\.rdc\\.macos$", | |
| "^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
| "^com\\.thinomenon\\.RemoteDesktopConnection$", | |
| "^com\\.teamviewer\\.TeamViewer$", | |
| "^com\\.vmware\\.horizon$" | |
| ], | |
| "type": "frontmost_application_if" | |
| } | |
| ], | |
| "to": { | |
| "key_code": "spacebar", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ] | |
| } | |
| }, | |
| "from": [ | |
| { | |
| "key_code": "left_shift", | |
| "modifiers": [ | |
| "left_option" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Mac OSX RDP: Cmd+Space To Switch Input (Left Shift+Left Ctrl)", | |
| "manipulators": [ | |
| { | |
| "conditions": [ | |
| { | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc$", | |
| "^com\\.microsoft\\.rdc\\.mac$", | |
| "^com\\.microsoft\\.rdc\\.macos$", | |
| "^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
| "^com\\.thinomenon\\.RemoteDesktopConnection$", | |
| "^com\\.teamviewer\\.TeamViewer$", | |
| "^com\\.vmware\\.horizon$" | |
| ], | |
| "type": "frontmost_application_if" | |
| } | |
| ], | |
| "to": { | |
| "key_code": "spacebar", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ] | |
| } | |
| }, | |
| "from": [ | |
| { | |
| "key_code": "left_shift", | |
| "modifiers": [ | |
| "left_control" | |
| ] | |
| } | |
| ], | |
| "type": "basic" | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Mac OSX RDP: Quit Application (Alt+F4 to Command+Q)", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "to": { | |
| "key_code": "q", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ] | |
| } | |
| }, | |
| "from": [ | |
| { | |
| "key_code": "f4", | |
| "modifiers": [ | |
| "option" | |
| ] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc$", | |
| "^com\\.microsoft\\.rdc\\.mac$", | |
| "^com\\.microsoft\\.rdc\\.macos$", | |
| "^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
| "^com\\.thinomenon\\.RemoteDesktopConnection$", | |
| "^com\\.teamviewer\\.TeamViewer$", | |
| "^com\\.vmware\\.horizon$" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| }, | |
| { | |
| "description": "Mac OSX RDP: Browser open location (Ctrl+L)", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "to": { | |
| "key_code": "l", | |
| "modifiers": { | |
| "mandatory": [ | |
| "command" | |
| ] | |
| } | |
| }, | |
| "from": [ | |
| { | |
| "key_code": "l", | |
| "modifiers": [ | |
| "control" | |
| ] | |
| } | |
| ], | |
| "conditions": [ | |
| { | |
| "type": "frontmost_application_if", | |
| "bundle_identifiers": [ | |
| "^com\\.microsoft\\.rdc$", | |
| "^com\\.microsoft\\.rdc\\.mac$", | |
| "^com\\.microsoft\\.rdc\\.macos$", | |
| "^com\\.microsoft\\.rdc\\.osx\\.beta$", | |
| "^com\\.thinomenon\\.RemoteDesktopConnection$", | |
| "^com\\.teamviewer\\.TeamViewer$", | |
| "^com\\.vmware\\.horizon$" | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| } | |
| ] | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Above simply inverts the excellent config originally designed by @varp