rux616 / karabiner-windows-mode

Karabiner-Elements complex ruleset to make using macOS friendlier by enabling common keyboard functionality used in Linux and Windows.
The Unlicense
311 stars 66 forks source link

File reorg #49

Closed rux616 closed 3 years ago

rux616 commented 3 years ago

Organizes JSON files into the "json" directory, and Jsonnet files (.jsonnet, .libsonnet) into the "jsonnet" directory.

github-actions[bot] commented 3 years ago

Summary of JSON file changes this PR will cause:

 json/windows_shortcuts.json (new) | 2199 +++++++++++++++++++++++++++++++++++++
 1 file changed, 2199 insertions(+)

Detailed diffs:

json/windows_shortcuts.json ```diff diff --git a/json/windows_shortcuts.json b/json/windows_shortcuts.json new file mode 100644 index 0000000..8eda9b9 --- /dev/null +++ b/json/windows_shortcuts.json @@ -0,0 +1,2199 @@ +{ + "rules": [ + { + "description": "Insert (Ctrl) [+Terminal Emulators]", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "insert", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "c", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Insert (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "insert", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "c", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Insert (Shift) [+Terminal Emulators]", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "insert", + "modifiers": { + "mandatory": [ + "shift" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "v", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Insert (Shift)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "insert", + "modifiers": { + "mandatory": [ + "shift" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "v", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Home", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "home", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Home (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "home", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Home (Shift)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "home", + "modifiers": { + "mandatory": [ + "shift" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": [ + "command", + "shift" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Home (Ctrl+Shift)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "home", + "modifiers": { + "mandatory": [ + "control", + "shift" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": [ + "command", + "shift" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "End", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "end", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "End (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "end", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "down_arrow", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "End (Shift)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "end", + "modifiers": { + "mandatory": [ + "shift" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": [ + "command", + "shift" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "End (Ctrl+Shift)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "end", + "modifiers": { + "mandatory": [ + "control", + "shift" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "down_arrow", + "modifiers": [ + "command", + "shift" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Left Arrow (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "left_arrow", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": [ + "option" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Left Arrow (Ctrl+Shift)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "left_arrow", + "modifiers": { + "mandatory": [ + "control", + "shift" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": [ + "option", + "shift" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Right Arrow (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "right_arrow", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": [ + "option" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Right Arrow (Ctrl+Shift)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "right_arrow", + "modifiers": { + "mandatory": [ + "control", + "shift" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": [ + "option", + "shift" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Backspace (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "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": "Delete (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "delete_forward", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "delete_forward", + "modifiers": [ + "option" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Enter (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "return_or_enter", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "return_or_enter", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Enter (Ctrl+Shift)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "return_or_enter", + "modifiers": { + "mandatory": [ + "control", + "shift" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "return_or_enter", + "modifiers": [ + "command", + "shift" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Win", + "manipulators": [ + { + "from": { + "key_code": "command" + }, + "to_if_alone": [ + { + "key_code": "launchpad" + } + ], + "type": "basic" + } + ] + }, + { + "description": "A (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "a", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "a", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "B (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "b", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "b", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "C (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "c", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "c", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "C (Ctrl+Shift) [Only Terminal Emulators]", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$" + ], + "type": "frontmost_application_if" + } + ], + "from": { + "key_code": "c", + "modifiers": { + "mandatory": [ + "control", + "shift" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "c", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "F (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "f", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "f", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "I (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "i", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "i", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "L (Win) [Login Window]", + "manipulators": [ + { + "from": { + "key_code": "l", + "modifiers": { + "mandatory": [ + "command" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" + } + ], + "type": "basic" + } + ] + }, + { + "description": "L (Win) [Lock Screen]", + "manipulators": [ + { + "from": { + "key_code": "l", + "modifiers": { + "mandatory": [ + "command" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "power", + "modifiers": [ + "control", + "shift" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "L (Alt+Ctrl) [Login Window]", + "manipulators": [ + { + "from": { + "key_code": "l", + "modifiers": { + "mandatory": [ + "control", + "option" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "shell_command": "/System/Library/CoreServices/Menu\\ Extras/User.menu/Contents/Resources/CGSession -suspend" + } + ], + "type": "basic" + } + ] + }, + { + "description": "L (Alt+Ctrl) [Lock Screen]", + "manipulators": [ + { + "from": { + "key_code": "l", + "modifiers": { + "mandatory": [ + "control", + "option" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "power", + "modifiers": [ + "control", + "shift" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "N (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "n", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "n", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "O (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "o", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "o", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "P (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "p", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "p", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "R (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "r", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "r", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "S (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "s", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "s", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "T (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "t", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "t", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "U (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "u", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "u", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "V (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "v", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "v", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "V (Ctrl+Shift) [Only Terminal Emulators]", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$" + ], + "type": "frontmost_application_if" + } + ], + "from": { + "key_code": "v", + "modifiers": { + "mandatory": [ + "control", + "shift" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "v", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "W (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "w", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "w", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "X (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "x", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "x", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Y (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "y", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "y", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Z (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "z", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "z", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "/ (Ctrl) [+Terminal Emulators]", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "slash", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "slash", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Space (Ctrl)", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "spacebar", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "spacebar", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "F1", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "f1", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "slash", + "modifiers": [ + "command", + "shift" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "F3", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "f3", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "g", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "F4 (Alt) [+Terminal Emulators]", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^org\\.vmware\\.fusion$", + "^com\\.parallels\\.desktop\\.console$", + "^com\\.microsoft\\.VSCode$", + "^com\\.jetbrains\\.intellij\\.ce$", + "^com\\.jetbrains\\.pycharm$", + "^com\\.sublimetext\\.3$", + "^com\\.microsoft\\.rdc\\.macos$", + "^com\\.citrix\\.XenAppViewer$" + ], + "type": "frontmost_application_unless" + } + ], + "from": { + "key_code": "f4", + "modifiers": { + "mandatory": [ + "option" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "q", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "F4 (Ctrl) [Only Chrome]", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com\\.google\\.Chrome$" + ], + "type": "frontmost_application_if" + } + ], + "from": { + "key_code": "f4", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "w", + "modifiers": [ + "command" + ] + } + ], + "type": "basic" + } + ] + } + ], + "title": "Windows Shortcuts" +} ```