{ "title": "Microsoft Remote Desktop", "rules": [ { "description": "Microsoft Remote Desktop - Windows Mappings", "manipulators": [ { "description": "Lazy left_command", "type": "basic", "from": { "key_code": "left_command" }, "to": [ { "key_code": "left_command", "lazy": true } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Lazy right_command", "type": "basic", "from": { "key_code": "right_command" }, "to": [ { "key_code": "right_command", "lazy": true } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-B", "type": "basic", "from": { "key_code": "b", "modifiers": { "mandatory": [ "command" ] } }, "to": [ { "key_code": "b", "modifiers": [ "left_control" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-D", "type": "basic", "from": { "key_code": "d", "modifiers": { "mandatory": [ "command" ] } }, "to": [ { "key_code": "d", "modifiers": [ "left_control" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-F", "type": "basic", "from": { "key_code": "f", "modifiers": { "mandatory": [ "command" ] } }, "to": [ { "key_code": "f", "modifiers": [ "left_control" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-G", "type": "basic", "from": { "key_code": "g", "modifiers": { "mandatory": [ "command" ] } }, "to": [ { "key_code": "g", "modifiers": [ "left_control" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-I", "type": "basic", "from": { "key_code": "i", "modifiers": { "mandatory": [ "command" ] } }, "to": [ { "key_code": "i", "modifiers": [ "left_control" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-K", "type": "basic", "from": { "key_code": "k", "modifiers": { "mandatory": [ "command" ] } }, "to": [ { "key_code": "k", "modifiers": [ "left_control" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-L", "type": "basic", "from": { "key_code": "l", "modifiers": { "mandatory": [ "command" ] } }, "to": [ { "key_code": "l", "modifiers": [ "left_control" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-N", "type": "basic", "from": { "key_code": "n", "modifiers": { "mandatory": [ "command" ] } }, "to": [ { "key_code": "n", "modifiers": [ "left_control" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-P", "type": "basic", "from": { "key_code": "p", "modifiers": { "mandatory": [ "command" ] } }, "to": [ { "key_code": "p", "modifiers": [ "left_control" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-Q", "type": "basic", "from": { "key_code": "q", "modifiers": { "mandatory": [ "command" ] } }, "to_if_alone": [ { "key_code": "f4", "modifiers": [ "fn", "left_option" ] } ], "to_if_held_down": [ { "key_code": "q", "modifiers": [ "left_command" ] } ], "parameters": { "basic.to_if_alone_timeout_milliseconds": 1000, "basic.to_if_held_down_threshold_milliseconds": 1000 }, "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-R", "type": "basic", "from": { "key_code": "r", "modifiers": { "mandatory": [ "command" ] } }, "to": [ { "key_code": "f5", "modifiers": [ "fn" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-S", "type": "basic", "from": { "key_code": "s", "modifiers": { "mandatory": [ "command" ] } }, "to": [ { "key_code": "s", "modifiers": [ "left_control" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-T", "type": "basic", "from": { "key_code": "t", "modifiers": { "mandatory": [ "command" ] } }, "to": [ { "key_code": "t", "modifiers": [ "left_control" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-U", "type": "basic", "from": { "key_code": "u", "modifiers": { "mandatory": [ "command" ] } }, "to": [ { "key_code": "u", "modifiers": [ "left_control" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-W", "type": "basic", "from": { "key_code": "w", "modifiers": { "mandatory": [ "command" ] } }, "to_if_alone": [ { "key_code": "f4", "modifiers": [ "fn", "left_control" ] } ], "to_if_held_down": [ { "key_code": "w", "modifiers": [ "left_command" ] } ], "parameters": { "basic.to_if_alone_timeout_milliseconds": 1000, "basic.to_if_held_down_threshold_milliseconds": 1000 }, "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-Y", "type": "basic", "from": { "key_code": "y", "modifiers": { "mandatory": [ "command" ] } }, "to": [ { "key_code": "y", "modifiers": [ "left_control" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-Z", "type": "basic", "from": { "key_code": "z", "modifiers": { "mandatory": [ "command" ] } }, "to": [ { "key_code": "z", "modifiers": [ "left_control" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-(", "type": "basic", "from": { "key_code": "open_bracket", "modifiers": { "mandatory": [ "command" ] } }, "to": [ { "key_code": "open_bracket", "modifiers": [ "left_control" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-)", "type": "basic", "from": { "key_code": "close_bracket", "modifiers": { "mandatory": [ "command" ] } }, "to": [ { "key_code": "close_bracket", "modifiers": [ "left_control" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-,", "type": "basic", "from": { "key_code": "comma", "modifiers": { "mandatory": [ "command" ] } }, "to": [ { "key_code": "comma", "modifiers": [ "left_control" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-.", "type": "basic", "from": { "key_code": "period", "modifiers": { "mandatory": [ "command" ] } }, "to": [ { "key_code": "period", "modifiers": [ "left_control" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-/", "type": "basic", "from": { "key_code": "slash", "modifiers": { "mandatory": [ "command" ] } }, "to": [ { "key_code": "slash", "modifiers": [ "left_control" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-Tab", "type": "basic", "from": { "key_code": "tab", "modifiers": { "mandatory": [ "left_command" ] } }, "to": [ { "key_code": "tab", "modifiers": [ "left_option" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-Shift-B", "type": "basic", "from": { "key_code": "b", "modifiers": { "mandatory": [ "command", "shift" ] } }, "to": [ { "key_code": "b", "modifiers": [ "left_control", "left_shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-Shift-D", "type": "basic", "from": { "key_code": "d", "modifiers": { "mandatory": [ "command", "shift" ] } }, "to": [ { "key_code": "d", "modifiers": [ "left_control", "left_shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-Shift-F", "type": "basic", "from": { "key_code": "f", "modifiers": { "mandatory": [ "command", "shift" ] } }, "to": [ { "key_code": "f", "modifiers": [ "left_control", "left_shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-Shift-G", "type": "basic", "from": { "key_code": "g", "modifiers": { "mandatory": [ "command", "shift" ] } }, "to": [ { "key_code": "g", "modifiers": [ "left_control", "left_shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-Shift-K", "type": "basic", "from": { "key_code": "k", "modifiers": { "mandatory": [ "command", "shift" ] } }, "to": [ { "key_code": "k", "modifiers": [ "left_control", "left_shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-Shift-N", "type": "basic", "from": { "key_code": "n", "modifiers": { "mandatory": [ "command", "shift" ] } }, "to": [ { "key_code": "n", "modifiers": [ "left_control", "left_shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-Shift-R", "type": "basic", "from": { "key_code": "r", "modifiers": { "mandatory": [ "command", "shift" ] } }, "to": [ { "key_code": "r", "modifiers": [ "left_control", "left_shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-Shift-Z", "type": "basic", "from": { "key_code": "z", "modifiers": { "mandatory": [ "command", "shift" ] } }, "to": [ { "key_code": "z", "modifiers": [ "left_control", "left_shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-Shift-/", "type": "basic", "from": { "key_code": "slash", "modifiers": { "mandatory": [ "command", "shift" ] } }, "to": [ { "key_code": "slash", "modifiers": [ "left_control", "left_shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-Shift-Tab", "type": "basic", "from": { "key_code": "tab", "modifiers": { "mandatory": [ "left_command", "shift" ] } }, "to": [ { "key_code": "tab", "modifiers": [ "left_option", "left_shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-Option-C", "type": "basic", "from": { "key_code": "c", "modifiers": { "mandatory": [ "command", "option" ] } }, "to": [ { "key_code": "c", "modifiers": [ "left_command" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-Option-H", "type": "basic", "from": { "key_code": "h", "modifiers": { "mandatory": [ "command", "option" ] } }, "to": [ { "key_code": "h", "modifiers": [ "left_command" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-Option-Q", "type": "basic", "from": { "key_code": "q", "modifiers": { "mandatory": [ "command", "option" ] } }, "to": [ { "key_code": "q", "modifiers": [ "left_command" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-Option-W", "type": "basic", "from": { "key_code": "w", "modifiers": { "mandatory": [ "command", "option" ] } }, "to": [ { "key_code": "w", "modifiers": [ "left_control", "left_option" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-Option-Z", "type": "basic", "from": { "key_code": "z", "modifiers": { "mandatory": [ "command", "option" ] } }, "to": [ { "key_code": "z", "modifiers": [ "left_command" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-Option-,", "type": "basic", "from": { "key_code": "comma", "modifiers": { "mandatory": [ "command", "option" ] } }, "to": [ { "key_code": "comma", "modifiers": [ "left_command" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Option-LeftArrow", "type": "basic", "from": { "key_code": "left_arrow", "modifiers": { "mandatory": [ "option" ] } }, "to": [ { "key_code": "left_arrow", "modifiers": [ "left_control" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Option-RightArrow", "type": "basic", "from": { "key_code": "right_arrow", "modifiers": { "mandatory": [ "option" ] } }, "to": [ { "key_code": "right_arrow", "modifiers": [ "left_control" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Option-Shift-LeftArrow", "type": "basic", "from": { "key_code": "left_arrow", "modifiers": { "mandatory": [ "option", "shift" ] } }, "to": [ { "key_code": "left_arrow", "modifiers": [ "left_control", "left_shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Option-Shift-LeftArrow", "type": "basic", "from": { "key_code": "right_arrow", "modifiers": { "mandatory": [ "option", "shift" ] } }, "to": [ { "key_code": "right_arrow", "modifiers": [ "left_control", "left_shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-LeftArrow", "type": "basic", "from": { "key_code": "left_arrow", "modifiers": { "mandatory": [ "command" ] } }, "to": [ { "key_code": "home", "modifiers": [] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-RightArrow", "type": "basic", "from": { "key_code": "right_arrow", "modifiers": { "mandatory": [ "command" ] } }, "to": [ { "key_code": "end", "modifiers": [] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-Shift-LeftArrow", "type": "basic", "from": { "key_code": "left_arrow", "modifiers": { "mandatory": [ "command", "shift" ] } }, "to": [ { "key_code": "home", "modifiers": [ "left_shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-Shift-RightArrow", "type": "basic", "from": { "key_code": "right_arrow", "modifiers": { "mandatory": [ "command", "shift" ] } }, "to": [ { "key_code": "end", "modifiers": [ "left_shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-UpArrow", "type": "basic", "from": { "key_code": "up_arrow", "modifiers": { "mandatory": [ "command" ] } }, "to": [ { "key_code": "up_arrow", "modifiers": [ "left_control" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-DownArrow", "type": "basic", "from": { "key_code": "down_arrow", "modifiers": { "mandatory": [ "command" ] } }, "to": [ { "key_code": "down_arrow", "modifiers": [ "left_control" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-Shift-UpArrow", "type": "basic", "from": { "key_code": "up_arrow", "modifiers": { "mandatory": [ "command", "shift" ] } }, "to": [ { "key_code": "up_arrow", "modifiers": [ "left_control", "left_shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] }, { "description": "Command-Shift-DownArrow", "type": "basic", "from": { "key_code": "down_arrow", "modifiers": { "mandatory": [ "command", "shift" ] } }, "to": [ { "key_code": "down_arrow", "modifiers": [ "left_control", "left_shift" ] } ], "conditions": [ { "type": "frontmost_application_if", "bundle_identifiers": [ "com\\.microsoft\\.rdc\\.macos" ] } ] } ] } ] }