Skip to content

Instantly share code, notes, and snippets.

@mrcrowl
Created April 26, 2022 20:44
Show Gist options
  • Save mrcrowl/ab1049bdeec8acd9e261a3703a89a124 to your computer and use it in GitHub Desktop.
Save mrcrowl/ab1049bdeec8acd9e261a3703a89a124 to your computer and use it in GitHub Desktop.
Karabiner config that provides a full set of Window-style shortcuts for macOS.
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {
"basic.simultaneous_threshold_milliseconds": 50,
"basic.to_delayed_action_delay_milliseconds": 500,
"basic.to_if_alone_timeout_milliseconds": 1000,
"basic.to_if_held_down_threshold_milliseconds": 500,
"mouse_motion_to_scroll.speed": 100
},
"rules": [
{
"description": "vscode: f5 --> f5",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "f5"
},
"to": [
{
"key_code": "f5",
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "workflowy: cmd+right --> ctrl+.",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.workflowy\\.desktop$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "right_arrow",
"modifiers": {
"mandatory": [
"gui"
]
}
},
"to": [
{
"key_code": "period",
"modifiers": [
"left_control"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "Option(Alt)+Tab as Switch Application (Command+Tab)",
"manipulators": [
{
"from": {
"key_code": "tab",
"modifiers": {
"mandatory": [
"option"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "tab",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "Press left-shift+caps_lock to enable default profile",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": {
"mandatory": [
"left_shift"
]
}
},
"to": [
{
"shell_command": "'/Library/Application Support/org.pqrs/Karabiner-Elements/bin/karabiner_cli' --select-profile macOS"
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Ctrl+Cmd+Left/Right --> Move editor group",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "right_arrow",
"modifiers": {
"mandatory": [
"control",
"command"
]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": [
"left_control",
"left_command"
],
"repeat": true
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "left_arrow",
"modifiers": {
"mandatory": [
"control",
"command"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": [
"left_control",
"left_command"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Ctrl+Shift+P --> Command palette",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "p",
"modifiers": {
"mandatory": [
"control",
"shift"
]
}
},
"to": [
{
"key_code": "p",
"modifiers": [
"left_gui",
"left_shift"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Ctrl+P --> Search files",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "p",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "p",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Ctrl+O --> Search symbols",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "o",
"modifiers": {
"mandatory": [
"control",
"shift"
]
}
},
"to": [
{
"key_code": "o",
"modifiers": [
"left_gui",
"left_shift"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Ctrl+, --> Settings",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "comma",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "comma",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Ctrl+Home --> Top of File",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "home",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "up_arrow",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Ctrl+End --> Bottom of File",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "end",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "down_arrow",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Ctrl+Shift+F --> Find in files",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "f",
"modifiers": {
"mandatory": [
"control",
"shift"
]
}
},
"to": [
{
"key_code": "f",
"modifiers": [
"left_gui",
"shift"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Ctrl+Shift+H --> Replace in files",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "h",
"modifiers": {
"mandatory": [
"control",
"shift"
]
}
},
"to": [
{
"key_code": "h",
"modifiers": [
"left_gui",
"shift"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Ctrl+H --> Replace in current file",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "h",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "f",
"modifiers": [
"command",
"option"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Ctrl+Shift+E --> Files Explorer",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "e",
"modifiers": {
"mandatory": [
"control",
"shift"
]
}
},
"to": [
{
"key_code": "e",
"modifiers": [
"left_gui",
"left_shift"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Alt+Left --> Go Back",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "left_arrow",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "hyphen",
"modifiers": [
"left_control"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Alt+Right --> Go Forward",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "right_arrow",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "hyphen",
"modifiers": [
"left_control",
"left_shift"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Ctrl+D --> Select Occurrence ",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "d",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "d",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Ctrl+Enter --> Insert Line Below (+Shift=Above)",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "return_or_enter",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"shift"
]
}
},
"to": [
{
"key_code": "return_or_enter",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Ctrl+. --> Suggestions",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "period",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "period",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Ctrl+/ --> Toggle comment",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "slash",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "slash",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Ctrl+[ --> Outdent line",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "open_bracket",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "open_bracket",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Ctrl+] --> Indent line",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "close_bracket",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "close_bracket",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Ctrl+Shift+[ --> Collapse Region",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "open_bracket",
"modifiers": {
"mandatory": [
"control",
"shift"
]
}
},
"to": [
{
"key_code": "open_bracket",
"modifiers": [
"left_gui",
"left_option"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Ctrl+Shift+] --> Expand Region",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "close_bracket",
"modifiers": {
"mandatory": [
"control",
"shift"
]
}
},
"to": [
{
"key_code": "close_bracket",
"modifiers": [
"left_gui",
"left_option"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Ctrl+Shift+M --> Show problems panel",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "m",
"modifiers": {
"mandatory": [
"control",
"shift"
]
}
},
"to": [
{
"key_code": "m",
"modifiers": [
"left_gui",
"left_shift"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Ctrl+\\ --> Split Editor",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "backslash",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "backslash",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Alt+Shift+Right --> Expand Selection",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "right_arrow",
"modifiers": {
"mandatory": [
"option",
"shift"
]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": [
"left_control",
"left_shift",
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Alt+Shift+Left --> Shrink Selection",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "left_arrow",
"modifiers": {
"mandatory": [
"option",
"shift"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": [
"left_control",
"left_shift",
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Alt+C --> Toggle Case",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "c",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "c",
"modifiers": [
"left_option",
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "vscode: Alt+W --> Toggle Whole Word",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "w",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "w",
"modifiers": [
"left_option",
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "Ctrl+Shift+C --> Ctrl+C",
"manipulators": [
{
"from": {
"key_code": "c",
"modifiers": {
"mandatory": [
"control",
"shift"
]
}
},
"to": [
{
"key_code": "c",
"modifiers": [
"left_control"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "Ctrl+Shift+D --> Ctrl+D",
"manipulators": [
{
"from": {
"key_code": "d",
"modifiers": {
"mandatory": [
"control",
"shift"
]
}
},
"to": [
{
"key_code": "d",
"modifiers": [
"left_control"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "outlook: Ctrl+H --> Toggle Whole Word",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.Outlook$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "h",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "e",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "outlook: Ctrl+Enter --> Send Message",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.Outlook$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "return_or_enter",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "return_or_enter",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "slack: Ctrl+Shift+7 --> Bullets",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.tinyspeck\\.slackmacgap$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "7",
"modifiers": {
"mandatory": [
"control",
"shift"
]
}
},
"to": [
{
"key_code": "7",
"modifiers": [
"left_gui",
"shift"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "slack: Ctrl+Shift+8 --> Bullets",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.tinyspeck\\.slackmacgap$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "8",
"modifiers": {
"mandatory": [
"control",
"shift"
]
}
},
"to": [
{
"key_code": "8",
"modifiers": [
"left_gui",
"shift"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "slack: Ctrl+Shift+K --> Reacji",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.tinyspeck\\.slackmacgap$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "backslash",
"modifiers": {
"mandatory": [
"control",
"shift"
]
}
},
"to": [
{
"key_code": "backslash",
"modifiers": [
"left_gui",
"shift"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "workflowy: Back Button --> Navigate Back",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.workflowy\\.desktop$"
],
"type": "frontmost_application_if"
}
],
"from": {
"modifiers": {
"optional": [
"any"
]
},
"pointing_button": "button4"
},
"to": [
{
"key_code": "open_bracket",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "workflowy: Forward Button --> Navigate Forward",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.workflowy\\.desktop$"
],
"type": "frontmost_application_if"
}
],
"from": {
"modifiers": {
"optional": [
"any"
]
},
"pointing_button": "button5"
},
"to": [
{
"key_code": "close_bracket",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "workflowy: Alt+Left --> Navigate Back",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.workflowy\\.desktop$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "left_arrow",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "open_bracket",
"modifiers": [
"left_control"
],
"repeat": false
}
],
"type": "basic"
}
]
},
{
"description": "workflowy: Alt+Right --> Navigate Back",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.workflowy\\.desktop$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "right_arrow",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "close_bracket",
"modifiers": [
"left_control"
],
"repeat": false
}
],
"type": "basic"
}
]
},
{
"description": "workflowy: Ctrl+Shift+Backspace --> Delete",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.workflowy\\.desktop$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "delete_or_backspace",
"modifiers": {
"mandatory": [
"control",
"shift"
]
}
},
"to": [
{
"key_code": "delete_or_backspace",
"modifiers": [
"left_gui",
"shift"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "Home key to the beginning of the sentence (Command + Left). Doesnt work in terminal",
"manipulators": [
{
"from": {
"key_code": "home",
"modifiers": {
"optional": [
"shift"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "End key to the end of the sentence (Command + Right). Doesnt work in terminal",
"manipulators": [
{
"from": {
"key_code": "end",
"modifiers": {
"optional": [
"shift"
]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style Home/End",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$",
"^org\\.mozilla\\.firefox$",
"^org\\.mozilla\\.nightly$",
"^com\\.microsoft\\.Edge",
"^com\\.microsoft\\.edgemac",
"^com\\.google\\.Chrome$",
"^com\\.brave\\.Browser$",
"^com\\.apple\\.Safari$",
"^cz\\.or\\.repo\\.git-gui$",
"^com\\.jetbrains\\."
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "home",
"modifiers": {
"optional": [
"shift"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^org\\.mozilla\\.firefox$",
"^org\\.mozilla\\.nightly$",
"^com\\.microsoft\\.Edge",
"^com\\.microsoft\\.edgemac",
"^com\\.google\\.Chrome$",
"^com\\.brave\\.Browser$",
"^com\\.apple\\.Safari$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "home",
"modifiers": {
"optional": [
"shift"
]
}
},
"to": [
{
"key_code": "a",
"modifiers": [
"left_control"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$",
"^cz\\.or\\.repo\\.git-gui$",
"^com\\.jetbrains\\."
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "home",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"shift"
]
}
},
"to": [
{
"key_code": "up_arrow",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.rdc$",
"^com\\.apple\\.Terminal$",
"^org\\.mozilla\\.firefox$",
"^org\\.mozilla\\.nightly$",
"^com\\.microsoft\\.Edge",
"^com\\.microsoft\\.edgemac",
"^com\\.google\\.Chrome$",
"^com\\.brave\\.Browser$",
"^com\\.apple\\.Safari$",
"^cz\\.or\\.repo\\.git-gui$",
"^com\\.jetbrains\\."
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "end",
"modifiers": {
"optional": [
"shift"
]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^org\\.mozilla\\.firefox$",
"^org\\.mozilla\\.nightly$",
"^com\\.microsoft\\.Edge",
"^com\\.microsoft\\.edgemac",
"^com\\.google\\.Chrome$",
"^com\\.brave\\.Browser$",
"^com\\.apple\\.Safari$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "end",
"modifiers": {
"optional": [
"shift"
]
}
},
"to": [
{
"key_code": "e",
"modifiers": [
"left_control"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.rdc$",
"^com\\.apple\\.Terminal$",
"^cz\\.or\\.repo\\.git-gui$",
"^com\\.jetbrains\\."
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "end",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"shift"
]
}
},
"to": [
{
"key_code": "down_arrow",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style Copy/Paste/Cut",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "c",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "c",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "v",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "v",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "x",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "x",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style Undo",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "z",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "z",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style Redo",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "y",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "z",
"modifiers": [
"left_command",
"left_shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style Select-All",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "a",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "a",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style Save",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "s",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "s",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "tableplus: ctrl+n --> command+t",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.tinyapp\\.TablePlus$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "n",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "t",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style New",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "n",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "n",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style Reload(F5, Ctrl+R)",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$",
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "r",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "r",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$",
"^com\\.oracle\\.workbench\\.MySQLWorkbench$",
"^com\\.tinyapp\\.TablePlus$",
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "f5",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "r",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style New Tab",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "t",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "t",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style Find",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "f",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "f",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$",
"^com\\.microsoft\\.VSCode$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "g",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "g",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style Open",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "o",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "o",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style Bold/Italic/Underline(Ctrl+B/I/U)",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "b",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "b",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "i",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "i",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "u",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "u",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style Close Window",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "w",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "w",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style Emoji Picker (Command+.)",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.parallels\\.winapp\\."
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "period",
"modifiers": {
"mandatory": [
"command"
]
}
},
"to": [
{
"key_code": "spacebar",
"modifiers": [
"left_control",
"left_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style Lock Screen",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.parallels\\.winapp\\."
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"command"
]
}
},
"to": [
{
"key_code": "power",
"modifiers": [
"left_control",
"left_shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style Screenshot to File (PrintScreen to select)",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.parallels\\.winapp\\."
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "print_screen",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "4",
"modifiers": [
"left_command",
"left_shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style Screenshot to Clipboard (PrintScreen to select)",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.parallels\\.winapp\\."
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "print_screen",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "4",
"modifiers": [
"left_command",
"left_control",
"left_shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style Screenshot (PrintScreen for whole, Shift+PrintScreen to select)",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.parallels\\.winapp\\."
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "print_screen",
"modifiers": {
"mandatory": [
"shift"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "4",
"modifiers": [
"left_command",
"left_shift"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.parallels\\.winapp\\."
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "print_screen",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "3",
"modifiers": [
"left_command",
"left_shift"
]
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style Quit Application (Alt+F4 to Command+Q)",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.parallels\\.winapp\\."
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "f4",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "q",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "Control+Esc Opens Launchpad",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.parallels\\.winapp\\."
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "escape",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "launchpad",
"modifiers": []
}
],
"type": "basic"
}
]
},
{
"description": "Control+Shift+Esc Opens Activity Monitor",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.parallels\\.winapp\\."
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "escape",
"modifiers": {
"mandatory": [
"control",
"shift"
]
}
},
"to": [
{
"shell_command": "open -a 'Activity Monitor.app'"
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style Browser open location (Ctrl+L)",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^org\\.mozilla\\.firefox$",
"^org\\.mozilla\\.nightly$",
"^com\\.microsoft\\.Edge",
"^com\\.microsoft\\.edgemac",
"^com\\.google\\.Chrome$",
"^com\\.brave\\.Browser$",
"^com\\.apple\\.Safari$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "l",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style Back/Forward (Alt+Left Arrow/Alt+Right Arrow)",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^org\\.mozilla\\.firefox$",
"^org\\.mozilla\\.nightly$",
"^com\\.microsoft\\.Edge",
"^com\\.microsoft\\.edgemac",
"^com\\.google\\.Chrome$",
"^com\\.brave\\.Browser$",
"^com\\.apple\\.Safari$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "left_arrow",
"modifiers": {
"mandatory": [
"option"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^org\\.mozilla\\.firefox$",
"^org\\.mozilla\\.nightly$",
"^com\\.microsoft\\.Edge",
"^com\\.microsoft\\.edgemac",
"^com\\.google\\.Chrome$",
"^com\\.brave\\.Browser$",
"^com\\.apple\\.Safari$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "right_arrow",
"modifiers": {
"mandatory": [
"option"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style Browser Zoom (Ctrl+Plus/Minus/0)",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^org\\.mozilla\\.firefox$",
"^org\\.mozilla\\.nightly$",
"^com\\.microsoft\\.Edge",
"^com\\.microsoft\\.edgemac",
"^com\\.google\\.Chrome$",
"^com\\.brave\\.Browser$",
"^com\\.apple\\.Safari$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "hyphen",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "hyphen",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^org\\.mozilla\\.firefox$",
"^org\\.mozilla\\.nightly$",
"^com\\.microsoft\\.Edge",
"^com\\.microsoft\\.edgemac",
"^com\\.google\\.Chrome$",
"^com\\.brave\\.Browser$",
"^com\\.apple\\.Safari$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "keypad_hyphen",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "keypad_hyphen",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^org\\.mozilla\\.firefox$",
"^org\\.mozilla\\.nightly$",
"^com\\.microsoft\\.Edge",
"^com\\.microsoft\\.edgemac",
"^com\\.google\\.Chrome$",
"^com\\.brave\\.Browser$",
"^com\\.apple\\.Safari$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "equal_sign",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "equal_sign",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^org\\.mozilla\\.firefox$",
"^org\\.mozilla\\.nightly$",
"^com\\.microsoft\\.Edge",
"^com\\.microsoft\\.edgemac",
"^com\\.google\\.Chrome$",
"^com\\.brave\\.Browser$",
"^com\\.apple\\.Safari$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "keypad_plus",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "keypad_plus",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^org\\.mozilla\\.firefox$",
"^org\\.mozilla\\.nightly$",
"^com\\.microsoft\\.Edge",
"^com\\.microsoft\\.edgemac",
"^com\\.google\\.Chrome$",
"^com\\.brave\\.Browser$",
"^com\\.apple\\.Safari$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "0",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "0",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^org\\.mozilla\\.firefox$",
"^org\\.mozilla\\.nightly$",
"^com\\.microsoft\\.Edge",
"^com\\.microsoft\\.edgemac",
"^com\\.google\\.Chrome$",
"^com\\.brave\\.Browser$",
"^com\\.apple\\.Safari$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "keypad_0",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "keypad_0",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style Control+Delete/Backspace",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "delete_or_backspace",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "delete_or_backspace",
"modifiers": [
"option"
]
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style Control+K",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "k",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "k",
"modifiers": [
"left_command"
]
}
],
"type": "basic"
}
]
},
{
"description": "chrome: ctrl+shift+t --> command+shift+t",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.google\\.Chrome$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "t",
"modifiers": {
"mandatory": [
"control",
"shift"
]
}
},
"to": [
{
"key_code": "t",
"modifiers": [
"left_gui",
"left_shift"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "workflowy: alt+up --> ctrl+shift+up",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.workflowy\\.desktop$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "up_arrow",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "up_arrow",
"modifiers": [
"left_control",
"left_shift"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "workflowy: alt+down --> ctrl+shift+down",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.workflowy\\.desktop$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "down_arrow",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "down_arrow",
"modifiers": [
"left_control",
"left_shift"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "workflowy: alt+shift+down --> ctrl+shift+down",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.workflowy\\.desktop$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "down_arrow",
"modifiers": {
"mandatory": [
"option",
"shift"
]
}
},
"to": [
{
"key_code": "down_arrow",
"modifiers": [
"left_control",
"left_shift"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "workflowy: ctrl+down --> command+down",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.workflowy\\.desktop$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "down_arrow",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "down_arrow",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "workflowy: alt+shift+up --> ctrl+shift+up",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.workflowy\\.desktop$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "up_arrow",
"modifiers": {
"mandatory": [
"option",
"shift"
]
}
},
"to": [
{
"key_code": "up_arrow",
"modifiers": [
"left_control",
"left_shift"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "workflowy: ctrl+up --> command+up",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.workflowy\\.desktop$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "up_arrow",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "up_arrow",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "terminal: ctrl+delete --> ctrl+w",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "delete_or_backspace",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "w",
"modifiers": [
"left_control"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "terminal: fn+left --> ctrl+a",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "left_arrow",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "a",
"modifiers": [
"left_control"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "terminal: fn+right --> ctrl+e",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "right_arrow",
"modifiers": {
"mandatory": [
"fn"
]
}
},
"to": [
{
"key_code": "e",
"modifiers": [
"left_control"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "terminal: ctrl+right --> option+f",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "right_arrow",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "f",
"modifiers": [
"left_option"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "terminal: ctrl+left --> option+b",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "left_arrow",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "b",
"modifiers": [
"left_option"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "terminal: ctrl+n --> command+n",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "n",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "n",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "terminal: ctrl+t --> command+t",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "t",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "t",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "terminal: ctrl+w --> command+w",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "w",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "w",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "terminal: ctrl+v --> command+v",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "v",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "v",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "terminal: ctrl+` --> command+`",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "grave_accent_and_tilde",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "grave_accent_and_tilde",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "chrome: alt+d --> command+l",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.google\\.Chrome$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "d",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "l",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "finder: ctrl+delete --> command+backspace",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.finder$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "delete_forward",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "delete_or_backspace",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "outlook: ctrl+1 --> command+1",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.Outlook$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "1",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "1",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "outlook: ctrl+2 --> command+2",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.Outlook$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "2",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "2",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "PC-Style Control+Up/Down/Left/Right",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.rdc$",
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "left_arrow",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": [
"left_option"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.microsoft\\.rdc$",
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "right_arrow",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": [
"left_option"
]
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "up_arrow",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "up_arrow"
}
],
"type": "basic"
},
{
"conditions": [
{
"bundle_identifiers": [
"^net\\.sf\\.cord$",
"^com\\.teamviewer\\.TeamViewer$",
"^org\\.virtualbox\\.app\\.VirtualBoxVM$",
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_unless"
}
],
"from": {
"key_code": "down_arrow",
"modifiers": {
"mandatory": [
"control"
],
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "down_arrow"
}
],
"type": "basic"
}
]
},
{
"description": "all: ctrl+shift+8 --> command+shift+8",
"manipulators": [
{
"conditions": [],
"from": {
"key_code": "8",
"modifiers": {
"mandatory": [
"control",
"shift"
]
}
},
"to": [
{
"key_code": "8",
"modifiers": [
"left_gui",
"left_shift"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "all: ctrl+shift+7 --> command+shift+7",
"manipulators": [
{
"conditions": [],
"from": {
"key_code": "7",
"modifiers": {
"mandatory": [
"control",
"shift"
]
}
},
"to": [
{
"key_code": "7",
"modifiers": [
"left_gui",
"left_shift"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "chrome: ctrl+shift+m --> command+shift+m",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.google\\.Chrome$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "m",
"modifiers": {
"mandatory": [
"control",
"shift"
]
}
},
"to": [
{
"key_code": "m",
"modifiers": [
"left_gui",
"left_shift"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "fork: ctrl+p --> command+p",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.DanPristupov\\.Fork$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "p",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "p",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "all: ctrl+shift+9 --> command+shift+9",
"manipulators": [
{
"conditions": [],
"from": {
"key_code": "9",
"modifiers": {
"mandatory": [
"control",
"shift"
]
}
},
"to": [
{
"key_code": "9",
"modifiers": [
"left_gui",
"left_shift"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "mysqlwb: f5 --> shift+command+enter",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.oracle\\.workbench\\.MySQLWorkbench$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "f5"
},
"to": [
{
"key_code": "return_or_enter",
"modifiers": [
"left_shift",
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "tableplus: f5 --> command+enter",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.tinyapp\\.TablePlus$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "f5"
},
"to": [
{
"key_code": "return_or_enter",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "all: ctrl+delete --> option+delete",
"manipulators": [
{
"conditions": [],
"from": {
"key_code": "delete_forward",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "delete_forward",
"modifiers": [
"left_option"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "finder: Back Button --> Navigate Back",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.finder$"
],
"type": "frontmost_application_if"
}
],
"from": {
"modifiers": {
"optional": [
"any"
]
},
"pointing_button": "button4"
},
"to": [
{
"key_code": "open_bracket",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "finder: Forward Button --> Navigate Forward",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.finder$"
],
"type": "frontmost_application_if"
}
],
"from": {
"modifiers": {
"optional": [
"any"
]
},
"pointing_button": "button5"
},
"to": [
{
"key_code": "close_bracket",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "terminal: f1 --> esc",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.apple\\.Terminal$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "f1"
},
"to": [
{
"key_code": "escape",
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "tableplus: ctrl+tab --> command+]",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.tinyapp\\.TablePlus$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "tab",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "close_bracket",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "slack: alt+left --> cmd+left",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.tinyspeck\\.slackmacgap$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "left_arrow",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "left_arrow",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "slack: alt+right --> cmd+right",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.tinyspeck\\.slackmacgap$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "right_arrow",
"modifiers": {
"mandatory": [
"option"
]
}
},
"to": [
{
"key_code": "right_arrow",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "tableplus: ctrl+p --> command+p",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.tinyapp\\.TablePlus$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "p",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "p",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
},
{
"description": "postman: ctrl+enter --> cmd+enter",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"^com\\.postmanlabs\\.mac$"
],
"type": "frontmost_application_if"
}
],
"from": {
"key_code": "return_or_enter",
"modifiers": {
"mandatory": [
"control"
]
}
},
"to": [
{
"key_code": "return_or_enter",
"modifiers": [
"left_gui"
],
"repeat": true
}
],
"type": "basic"
}
]
}
]
},
"devices": [
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 832,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": true,
"simple_modifications": []
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 34304,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": true,
"simple_modifications": []
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 591,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": true,
"simple_modifications": []
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": false,
"is_pointing_device": true,
"product_id": 50475,
"vendor_id": 1133
},
"ignore": false,
"manipulate_caps_lock_led": false,
"simple_modifications": []
},
{
"disable_built_in_keyboard_if_exists": false,
"fn_function_keys": [],
"identifiers": {
"is_keyboard": true,
"is_pointing_device": false,
"product_id": 671,
"vendor_id": 1452
},
"ignore": false,
"manipulate_caps_lock_led": true,
"simple_modifications": []
}
],
"fn_function_keys": [
{
"from": {
"key_code": "f1"
},
"to": [
{
"consumer_key_code": "display_brightness_decrement"
}
]
},
{
"from": {
"key_code": "f2"
},
"to": [
{
"consumer_key_code": "display_brightness_increment"
}
]
},
{
"from": {
"key_code": "f3"
},
"to": [
{
"consumer_key_code": "eject"
}
]
},
{
"from": {
"key_code": "f4"
},
"to": [
{
"apple_vendor_keyboard_key_code": "spotlight"
}
]
},
{
"from": {
"key_code": "f5"
},
"to": [
{
"consumer_key_code": "dictation"
}
]
},
{
"from": {
"key_code": "f6"
},
"to": [
{
"key_code": "f6"
}
]
},
{
"from": {
"key_code": "f7"
},
"to": [
{
"consumer_key_code": "rewind"
}
]
},
{
"from": {
"key_code": "f8"
},
"to": [
{
"consumer_key_code": "play_or_pause"
}
]
},
{
"from": {
"key_code": "f9"
},
"to": [
{
"consumer_key_code": "fast_forward"
}
]
},
{
"from": {
"key_code": "f10"
},
"to": [
{
"consumer_key_code": "mute"
}
]
},
{
"from": {
"key_code": "f11"
},
"to": [
{
"consumer_key_code": "volume_decrement"
}
]
},
{
"from": {
"key_code": "f12"
},
"to": [
{
"consumer_key_code": "volume_increment"
}
]
}
],
"name": "windows",
"parameters": {
"delay_milliseconds_before_open_device": 1000
},
"selected": true,
"simple_modifications": [],
"virtual_hid_keyboard": {
"country_code": 0,
"indicate_sticky_modifier_keys_state": true,
"mouse_key_xy_scale": 100
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment