diff --git a/karabiner/assets/complex_modifications/1600571122.json b/karabiner/assets/complex_modifications/1600571122.json new file mode 100644 index 0000000..870f1d0 --- /dev/null +++ b/karabiner/assets/complex_modifications/1600571122.json @@ -0,0 +1,502 @@ +{ + "title": "CapsLock Plus", + "maintainers": ["BryanHoo"], + "homepage": "https://github.com/BryanHoo/Capslock-Plus", + "import_url": "karabiner://karabiner/assets/complex_modifications/import?url=https://raw.githubusercontent.com/BryanHoo/Capslock-Plus/master/capslock-plus.json", + "rules": [ + { + "description": "CapsLock to Hyper/Escape", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "caps_lock", + "modifiers": { + "optional": ["any"] + } + }, + "to": [ + { + "key_code": "right_shift", + "modifiers": ["right_command", "right_control", "right_option"] + } + ], + "to_if_alone": [ + { + "key_code": "escape" + } + ] + } + ] + }, + { + "description": "Hyper Cursor navigation", + "manipulators": [ + { + "from": { + "key_code": "e", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "up_arrow" + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "d", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "down_arrow" + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "s", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "left_arrow" + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "f", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "right_arrow" + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "p", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "semicolon", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "y", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "b", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "down_arrow", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "a", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": ["left_option"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "g", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": ["left_option"] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper selected Navigation", + "manipulators": [ + { + "from": { + "key_code": "i", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "up_arrow", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "k", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "down_arrow", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "j", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "l", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": ["left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "u", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": ["left_command", "left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "o", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": ["left_command", "left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "h", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": ["left_option", "left_shift"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "n", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": ["left_option", "left_shift"] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Hyper More", + "manipulators": [ + { + "from": { + "key_code": "delete_or_backspace", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "delete_or_backspace", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "return_or_enter", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "return_or_enter", + "modifiers": ["left_command"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "slash", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "key_code": "tab", + "modifiers": ["left_control"] + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "t", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "shell_command": "open -a 'iTerm'" + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "m", + "modifiers": { + "mandatory": [ + "right_command", + "right_control", + "right_shift", + "right_option" + ] + } + }, + "to": [ + { + "shell_command": "open -a 'finder'" + } + ], + "type": "basic" + } + ] + } + ] +} diff --git a/karabiner/assets/complex_modifications/1601100681.json b/karabiner/assets/complex_modifications/1601100681.json new file mode 100644 index 0000000..678d5b4 --- /dev/null +++ b/karabiner/assets/complex_modifications/1601100681.json @@ -0,0 +1,2094 @@ +{ + "title": "Emacs key bindings (rev 12)", + "maintainers": [ + "tekezo" + ], + "rules": [ + { + "description": "Emacs key bindings [C-x key strokes] (rev 2)", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "c", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "q", + "modifiers": [ + "left_command" + ] + } + ], + "conditions": [ + { + "type": "variable_if", + "name": "C-x", + "value": 1 + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "f", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "o", + "modifiers": [ + "left_command" + ] + } + ], + "conditions": [ + { + "type": "variable_if", + "name": "C-x", + "value": 1 + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "s", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "s", + "modifiers": [ + "left_command" + ] + } + ], + "conditions": [ + { + "type": "variable_if", + "name": "C-x", + "value": 1 + } + ] + }, + { + "type": "basic", + "from": { + "any": "key_code", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "conditions": [ + { + "type": "variable_if", + "name": "C-x", + "value": 1 + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "x", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "set_variable": { + "name": "C-x", + "value": 1 + } + } + ], + "to_delayed_action": { + "to_if_invoked": [ + { + "set_variable": { + "name": "C-x", + "value": 0 + } + } + ], + "to_if_canceled": [ + { + "set_variable": { + "name": "C-x", + "value": 0 + } + } + ] + }, + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "^org\\.gnu\\.Emacs$", + "^org\\.gnu\\.AquamacsEmacs$", + "^org\\.gnu\\.Aquamacs$", + "^org\\.pqrs\\.unknownapp.conkeror$", + "^com\\.microsoft\\.rdc$", + "^com\\.microsoft\\.rdc\\.", + "^net\\.sf\\.cord$", + "^com\\.thinomenon\\.RemoteDesktopConnection$", + "^com\\.itap-mobile\\.qmote$", + "^com\\.nulana\\.remotixmac$", + "^com\\.p5sys\\.jump\\.mac\\.viewer$", + "^com\\.p5sys\\.jump\\.mac\\.viewer\\.", + "^com\\.teamviewer\\.TeamViewer$", + "^com\\.vmware\\.horizon$", + "^com\\.2X\\.Client\\.Mac$", + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyperterm$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^net\\.kovidgoyal\\.kitty$", + "^org\\.vim\\.", + "^com\\.qvacua\\.VimR$", + "^com\\.vmware\\.fusion$", + "^com\\.vmware\\.horizon$", + "^com\\.vmware\\.view$", + "^com\\.parallels\\.desktop$", + "^com\\.parallels\\.vm$", + "^com\\.parallels\\.desktop\\.console$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^com\\.citrix\\.XenAppViewer$", + "^com\\.vmware\\.proxyApp\\.", + "^com\\.parallels\\.winapp\\.", + "^org\\.x\\.X11$", + "^com\\.apple\\.x11$", + "^org\\.macosforge\\.xquartz\\.X11$", + "^org\\.macports\\.X11$", + "^com\\.sublimetext\\.", + "^com\\.microsoft\\.VSCode$" + ] + } + ] + } + ] + }, + { + "description": "Emacs key bindings [control+keys] (rev 10)", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "d", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "option" + ] + } + }, + "to": [ + { + "key_code": "delete_forward" + } + ], + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "^org\\.gnu\\.Emacs$", + "^org\\.gnu\\.AquamacsEmacs$", + "^org\\.gnu\\.Aquamacs$", + "^org\\.pqrs\\.unknownapp.conkeror$", + "^com\\.microsoft\\.rdc$", + "^com\\.microsoft\\.rdc\\.", + "^net\\.sf\\.cord$", + "^com\\.thinomenon\\.RemoteDesktopConnection$", + "^com\\.itap-mobile\\.qmote$", + "^com\\.nulana\\.remotixmac$", + "^com\\.p5sys\\.jump\\.mac\\.viewer$", + "^com\\.p5sys\\.jump\\.mac\\.viewer\\.", + "^com\\.teamviewer\\.TeamViewer$", + "^com\\.vmware\\.horizon$", + "^com\\.2X\\.Client\\.Mac$", + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyperterm$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^net\\.kovidgoyal\\.kitty$", + "^org\\.vim\\.", + "^com\\.qvacua\\.VimR$", + "^com\\.vmware\\.fusion$", + "^com\\.vmware\\.horizon$", + "^com\\.vmware\\.view$", + "^com\\.parallels\\.desktop$", + "^com\\.parallels\\.vm$", + "^com\\.parallels\\.desktop\\.console$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^com\\.citrix\\.XenAppViewer$", + "^com\\.vmware\\.proxyApp\\.", + "^com\\.parallels\\.winapp\\.", + "^org\\.x\\.X11$", + "^com\\.apple\\.x11$", + "^org\\.macosforge\\.xquartz\\.X11$", + "^org\\.macports\\.X11$", + "^com\\.sublimetext\\.", + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "h", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "option" + ] + } + }, + "to": [ + { + "key_code": "delete_or_backspace" + } + ], + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "^org\\.gnu\\.Emacs$", + "^org\\.gnu\\.AquamacsEmacs$", + "^org\\.gnu\\.Aquamacs$", + "^org\\.pqrs\\.unknownapp.conkeror$", + "^com\\.microsoft\\.rdc$", + "^com\\.microsoft\\.rdc\\.", + "^net\\.sf\\.cord$", + "^com\\.thinomenon\\.RemoteDesktopConnection$", + "^com\\.itap-mobile\\.qmote$", + "^com\\.nulana\\.remotixmac$", + "^com\\.p5sys\\.jump\\.mac\\.viewer$", + "^com\\.p5sys\\.jump\\.mac\\.viewer\\.", + "^com\\.teamviewer\\.TeamViewer$", + "^com\\.vmware\\.horizon$", + "^com\\.2X\\.Client\\.Mac$", + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyperterm$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^net\\.kovidgoyal\\.kitty$", + "^org\\.vim\\.", + "^com\\.qvacua\\.VimR$", + "^com\\.vmware\\.fusion$", + "^com\\.vmware\\.horizon$", + "^com\\.vmware\\.view$", + "^com\\.parallels\\.desktop$", + "^com\\.parallels\\.vm$", + "^com\\.parallels\\.desktop\\.console$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^com\\.citrix\\.XenAppViewer$", + "^com\\.vmware\\.proxyApp\\.", + "^com\\.parallels\\.winapp\\.", + "^org\\.x\\.X11$", + "^com\\.apple\\.x11$", + "^org\\.macosforge\\.xquartz\\.X11$", + "^org\\.macports\\.X11$", + "^com\\.sublimetext\\.", + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "i", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "shift" + ] + } + }, + "to": [ + { + "key_code": "tab" + } + ], + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "^org\\.gnu\\.Emacs$", + "^org\\.gnu\\.AquamacsEmacs$", + "^org\\.gnu\\.Aquamacs$", + "^org\\.pqrs\\.unknownapp.conkeror$", + "^com\\.microsoft\\.rdc$", + "^com\\.microsoft\\.rdc\\.", + "^net\\.sf\\.cord$", + "^com\\.thinomenon\\.RemoteDesktopConnection$", + "^com\\.itap-mobile\\.qmote$", + "^com\\.nulana\\.remotixmac$", + "^com\\.p5sys\\.jump\\.mac\\.viewer$", + "^com\\.p5sys\\.jump\\.mac\\.viewer\\.", + "^com\\.teamviewer\\.TeamViewer$", + "^com\\.vmware\\.horizon$", + "^com\\.2X\\.Client\\.Mac$", + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyperterm$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^net\\.kovidgoyal\\.kitty$", + "^org\\.vim\\.", + "^com\\.qvacua\\.VimR$", + "^com\\.vmware\\.fusion$", + "^com\\.vmware\\.horizon$", + "^com\\.vmware\\.view$", + "^com\\.parallels\\.desktop$", + "^com\\.parallels\\.vm$", + "^com\\.parallels\\.desktop\\.console$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^com\\.citrix\\.XenAppViewer$", + "^com\\.vmware\\.proxyApp\\.", + "^com\\.parallels\\.winapp\\.", + "^org\\.x\\.X11$", + "^com\\.apple\\.x11$", + "^org\\.macosforge\\.xquartz\\.X11$", + "^org\\.macports\\.X11$", + "^com\\.sublimetext\\.", + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "open_bracket", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "escape" + } + ], + "conditions": [ + { + "type": "keyboard_type_if", + "keyboard_types": [ + "ansi", + "iso" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "close_bracket", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "escape" + } + ], + "conditions": [ + { + "type": "keyboard_type_if", + "keyboard_types": [ + "jis" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "m", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "shift", + "option" + ] + } + }, + "to": [ + { + "key_code": "return_or_enter" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "b", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "shift", + "option" + ] + } + }, + "to": [ + { + "key_code": "left_arrow" + } + ], + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "^org\\.gnu\\.Emacs$", + "^org\\.gnu\\.AquamacsEmacs$", + "^org\\.gnu\\.Aquamacs$", + "^org\\.pqrs\\.unknownapp.conkeror$", + "^com\\.microsoft\\.rdc$", + "^com\\.microsoft\\.rdc\\.", + "^net\\.sf\\.cord$", + "^com\\.thinomenon\\.RemoteDesktopConnection$", + "^com\\.itap-mobile\\.qmote$", + "^com\\.nulana\\.remotixmac$", + "^com\\.p5sys\\.jump\\.mac\\.viewer$", + "^com\\.p5sys\\.jump\\.mac\\.viewer\\.", + "^com\\.teamviewer\\.TeamViewer$", + "^com\\.vmware\\.horizon$", + "^com\\.2X\\.Client\\.Mac$", + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyperterm$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^net\\.kovidgoyal\\.kitty$", + "^org\\.vim\\.", + "^com\\.qvacua\\.VimR$", + "^com\\.vmware\\.fusion$", + "^com\\.vmware\\.horizon$", + "^com\\.vmware\\.view$", + "^com\\.parallels\\.desktop$", + "^com\\.parallels\\.vm$", + "^com\\.parallels\\.desktop\\.console$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^com\\.citrix\\.XenAppViewer$", + "^com\\.vmware\\.proxyApp\\.", + "^com\\.parallels\\.winapp\\.", + "^org\\.x\\.X11$", + "^com\\.apple\\.x11$", + "^org\\.macosforge\\.xquartz\\.X11$", + "^org\\.macports\\.X11$", + "^com\\.sublimetext\\.", + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "f", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "shift", + "option" + ] + } + }, + "to": [ + { + "key_code": "right_arrow" + } + ], + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "^org\\.gnu\\.Emacs$", + "^org\\.gnu\\.AquamacsEmacs$", + "^org\\.gnu\\.Aquamacs$", + "^org\\.pqrs\\.unknownapp.conkeror$", + "^com\\.microsoft\\.rdc$", + "^com\\.microsoft\\.rdc\\.", + "^net\\.sf\\.cord$", + "^com\\.thinomenon\\.RemoteDesktopConnection$", + "^com\\.itap-mobile\\.qmote$", + "^com\\.nulana\\.remotixmac$", + "^com\\.p5sys\\.jump\\.mac\\.viewer$", + "^com\\.p5sys\\.jump\\.mac\\.viewer\\.", + "^com\\.teamviewer\\.TeamViewer$", + "^com\\.vmware\\.horizon$", + "^com\\.2X\\.Client\\.Mac$", + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyperterm$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^net\\.kovidgoyal\\.kitty$", + "^org\\.vim\\.", + "^com\\.qvacua\\.VimR$", + "^com\\.vmware\\.fusion$", + "^com\\.vmware\\.horizon$", + "^com\\.vmware\\.view$", + "^com\\.parallels\\.desktop$", + "^com\\.parallels\\.vm$", + "^com\\.parallels\\.desktop\\.console$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^com\\.citrix\\.XenAppViewer$", + "^com\\.vmware\\.proxyApp\\.", + "^com\\.parallels\\.winapp\\.", + "^org\\.x\\.X11$", + "^com\\.apple\\.x11$", + "^org\\.macosforge\\.xquartz\\.X11$", + "^org\\.macports\\.X11$", + "^com\\.sublimetext\\.", + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "n", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "shift", + "option" + ] + } + }, + "to": [ + { + "key_code": "down_arrow" + } + ], + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "^org\\.gnu\\.Emacs$", + "^org\\.gnu\\.AquamacsEmacs$", + "^org\\.gnu\\.Aquamacs$", + "^org\\.pqrs\\.unknownapp.conkeror$", + "^com\\.microsoft\\.rdc$", + "^com\\.microsoft\\.rdc\\.", + "^net\\.sf\\.cord$", + "^com\\.thinomenon\\.RemoteDesktopConnection$", + "^com\\.itap-mobile\\.qmote$", + "^com\\.nulana\\.remotixmac$", + "^com\\.p5sys\\.jump\\.mac\\.viewer$", + "^com\\.p5sys\\.jump\\.mac\\.viewer\\.", + "^com\\.teamviewer\\.TeamViewer$", + "^com\\.vmware\\.horizon$", + "^com\\.2X\\.Client\\.Mac$", + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyperterm$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^net\\.kovidgoyal\\.kitty$", + "^org\\.vim\\.", + "^com\\.qvacua\\.VimR$", + "^com\\.vmware\\.fusion$", + "^com\\.vmware\\.horizon$", + "^com\\.vmware\\.view$", + "^com\\.parallels\\.desktop$", + "^com\\.parallels\\.vm$", + "^com\\.parallels\\.desktop\\.console$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^com\\.citrix\\.XenAppViewer$", + "^com\\.vmware\\.proxyApp\\.", + "^com\\.parallels\\.winapp\\.", + "^org\\.x\\.X11$", + "^com\\.apple\\.x11$", + "^org\\.macosforge\\.xquartz\\.X11$", + "^org\\.macports\\.X11$", + "^com\\.sublimetext\\.", + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "p", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "shift", + "option" + ] + } + }, + "to": [ + { + "key_code": "up_arrow" + } + ], + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "^org\\.gnu\\.Emacs$", + "^org\\.gnu\\.AquamacsEmacs$", + "^org\\.gnu\\.Aquamacs$", + "^org\\.pqrs\\.unknownapp.conkeror$", + "^com\\.microsoft\\.rdc$", + "^com\\.microsoft\\.rdc\\.", + "^net\\.sf\\.cord$", + "^com\\.thinomenon\\.RemoteDesktopConnection$", + "^com\\.itap-mobile\\.qmote$", + "^com\\.nulana\\.remotixmac$", + "^com\\.p5sys\\.jump\\.mac\\.viewer$", + "^com\\.p5sys\\.jump\\.mac\\.viewer\\.", + "^com\\.teamviewer\\.TeamViewer$", + "^com\\.vmware\\.horizon$", + "^com\\.2X\\.Client\\.Mac$", + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyperterm$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^net\\.kovidgoyal\\.kitty$", + "^org\\.vim\\.", + "^com\\.qvacua\\.VimR$", + "^com\\.vmware\\.fusion$", + "^com\\.vmware\\.horizon$", + "^com\\.vmware\\.view$", + "^com\\.parallels\\.desktop$", + "^com\\.parallels\\.vm$", + "^com\\.parallels\\.desktop\\.console$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^com\\.citrix\\.XenAppViewer$", + "^com\\.vmware\\.proxyApp\\.", + "^com\\.parallels\\.winapp\\.", + "^org\\.x\\.X11$", + "^com\\.apple\\.x11$", + "^org\\.macosforge\\.xquartz\\.X11$", + "^org\\.macports\\.X11$", + "^com\\.sublimetext\\.", + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "v", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "shift" + ] + } + }, + "to": [ + { + "key_code": "page_down" + } + ], + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "^org\\.gnu\\.Emacs$", + "^org\\.gnu\\.AquamacsEmacs$", + "^org\\.gnu\\.Aquamacs$", + "^org\\.pqrs\\.unknownapp.conkeror$", + "^com\\.microsoft\\.rdc$", + "^com\\.microsoft\\.rdc\\.", + "^net\\.sf\\.cord$", + "^com\\.thinomenon\\.RemoteDesktopConnection$", + "^com\\.itap-mobile\\.qmote$", + "^com\\.nulana\\.remotixmac$", + "^com\\.p5sys\\.jump\\.mac\\.viewer$", + "^com\\.p5sys\\.jump\\.mac\\.viewer\\.", + "^com\\.teamviewer\\.TeamViewer$", + "^com\\.vmware\\.horizon$", + "^com\\.2X\\.Client\\.Mac$", + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyperterm$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^net\\.kovidgoyal\\.kitty$", + "^org\\.vim\\.", + "^com\\.qvacua\\.VimR$", + "^com\\.vmware\\.fusion$", + "^com\\.vmware\\.horizon$", + "^com\\.vmware\\.view$", + "^com\\.parallels\\.desktop$", + "^com\\.parallels\\.vm$", + "^com\\.parallels\\.desktop\\.console$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^com\\.citrix\\.XenAppViewer$", + "^com\\.vmware\\.proxyApp\\.", + "^com\\.parallels\\.winapp\\.", + "^org\\.x\\.X11$", + "^com\\.apple\\.x11$", + "^org\\.macosforge\\.xquartz\\.X11$", + "^org\\.macports\\.X11$", + "^com\\.sublimetext\\.", + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "a", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "shift" + ] + } + }, + "to": [ + { + "key_code": "home" + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.Excel$", + "^com\\.microsoft\\.Powerpoint$", + "^com\\.microsoft\\.Word$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "e", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "shift" + ] + } + }, + "to": [ + { + "key_code": "end" + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.Excel$", + "^com\\.microsoft\\.Powerpoint$", + "^com\\.microsoft\\.Word$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "a", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "shift" + ] + } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": [ + "left_command" + ] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^org\\.eclipse\\.platform\\.ide$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "e", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "shift" + ] + } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": [ + "left_command" + ] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^org\\.eclipse\\.platform\\.ide$" + ] + } + ] + } + ] + }, + { + "description": "Emacs key bindings [option+keys] (rev 5)", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "v", + "modifiers": { + "mandatory": [ + "option" + ], + "optional": [ + "caps_lock", + "shift" + ] + } + }, + "to": [ + { + "key_code": "page_up" + } + ], + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "^org\\.gnu\\.Emacs$", + "^org\\.gnu\\.AquamacsEmacs$", + "^org\\.gnu\\.Aquamacs$", + "^org\\.pqrs\\.unknownapp.conkeror$", + "^com\\.microsoft\\.rdc$", + "^com\\.microsoft\\.rdc\\.", + "^net\\.sf\\.cord$", + "^com\\.thinomenon\\.RemoteDesktopConnection$", + "^com\\.itap-mobile\\.qmote$", + "^com\\.nulana\\.remotixmac$", + "^com\\.p5sys\\.jump\\.mac\\.viewer$", + "^com\\.p5sys\\.jump\\.mac\\.viewer\\.", + "^com\\.teamviewer\\.TeamViewer$", + "^com\\.vmware\\.horizon$", + "^com\\.2X\\.Client\\.Mac$", + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyperterm$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^net\\.kovidgoyal\\.kitty$", + "^org\\.vim\\.", + "^com\\.qvacua\\.VimR$", + "^com\\.vmware\\.fusion$", + "^com\\.vmware\\.horizon$", + "^com\\.vmware\\.view$", + "^com\\.parallels\\.desktop$", + "^com\\.parallels\\.vm$", + "^com\\.parallels\\.desktop\\.console$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^com\\.citrix\\.XenAppViewer$", + "^com\\.vmware\\.proxyApp\\.", + "^com\\.parallels\\.winapp\\.", + "^org\\.x\\.X11$", + "^com\\.apple\\.x11$", + "^org\\.macosforge\\.xquartz\\.X11$", + "^org\\.macports\\.X11$", + "^com\\.sublimetext\\.", + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "b", + "modifiers": { + "mandatory": [ + "option" + ], + "optional": [ + "caps_lock", + "shift" + ] + } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": [ + "left_option" + ] + } + ], + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "^org\\.gnu\\.Emacs$", + "^org\\.gnu\\.AquamacsEmacs$", + "^org\\.gnu\\.Aquamacs$", + "^org\\.pqrs\\.unknownapp.conkeror$", + "^com\\.microsoft\\.rdc$", + "^com\\.microsoft\\.rdc\\.", + "^net\\.sf\\.cord$", + "^com\\.thinomenon\\.RemoteDesktopConnection$", + "^com\\.itap-mobile\\.qmote$", + "^com\\.nulana\\.remotixmac$", + "^com\\.p5sys\\.jump\\.mac\\.viewer$", + "^com\\.p5sys\\.jump\\.mac\\.viewer\\.", + "^com\\.teamviewer\\.TeamViewer$", + "^com\\.vmware\\.horizon$", + "^com\\.2X\\.Client\\.Mac$", + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyperterm$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^net\\.kovidgoyal\\.kitty$", + "^org\\.vim\\.", + "^com\\.qvacua\\.VimR$", + "^com\\.vmware\\.fusion$", + "^com\\.vmware\\.horizon$", + "^com\\.vmware\\.view$", + "^com\\.parallels\\.desktop$", + "^com\\.parallels\\.vm$", + "^com\\.parallels\\.desktop\\.console$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^com\\.citrix\\.XenAppViewer$", + "^com\\.vmware\\.proxyApp\\.", + "^com\\.parallels\\.winapp\\.", + "^org\\.x\\.X11$", + "^com\\.apple\\.x11$", + "^org\\.macosforge\\.xquartz\\.X11$", + "^org\\.macports\\.X11$", + "^com\\.sublimetext\\.", + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "f", + "modifiers": { + "mandatory": [ + "option" + ], + "optional": [ + "caps_lock", + "shift" + ] + } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": [ + "left_option" + ] + } + ], + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "^org\\.gnu\\.Emacs$", + "^org\\.gnu\\.AquamacsEmacs$", + "^org\\.gnu\\.Aquamacs$", + "^org\\.pqrs\\.unknownapp.conkeror$", + "^com\\.microsoft\\.rdc$", + "^com\\.microsoft\\.rdc\\.", + "^net\\.sf\\.cord$", + "^com\\.thinomenon\\.RemoteDesktopConnection$", + "^com\\.itap-mobile\\.qmote$", + "^com\\.nulana\\.remotixmac$", + "^com\\.p5sys\\.jump\\.mac\\.viewer$", + "^com\\.p5sys\\.jump\\.mac\\.viewer\\.", + "^com\\.teamviewer\\.TeamViewer$", + "^com\\.vmware\\.horizon$", + "^com\\.2X\\.Client\\.Mac$", + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyperterm$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^net\\.kovidgoyal\\.kitty$", + "^org\\.vim\\.", + "^com\\.qvacua\\.VimR$", + "^com\\.vmware\\.fusion$", + "^com\\.vmware\\.horizon$", + "^com\\.vmware\\.view$", + "^com\\.parallels\\.desktop$", + "^com\\.parallels\\.vm$", + "^com\\.parallels\\.desktop\\.console$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^com\\.citrix\\.XenAppViewer$", + "^com\\.vmware\\.proxyApp\\.", + "^com\\.parallels\\.winapp\\.", + "^org\\.x\\.X11$", + "^com\\.apple\\.x11$", + "^org\\.macosforge\\.xquartz\\.X11$", + "^org\\.macports\\.X11$", + "^com\\.sublimetext\\.", + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "d", + "modifiers": { + "mandatory": [ + "option" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "delete_forward", + "modifiers": [ + "left_option" + ] + } + ], + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "^org\\.gnu\\.Emacs$", + "^org\\.gnu\\.AquamacsEmacs$", + "^org\\.gnu\\.Aquamacs$", + "^org\\.pqrs\\.unknownapp.conkeror$", + "^com\\.microsoft\\.rdc$", + "^com\\.microsoft\\.rdc\\.", + "^net\\.sf\\.cord$", + "^com\\.thinomenon\\.RemoteDesktopConnection$", + "^com\\.itap-mobile\\.qmote$", + "^com\\.nulana\\.remotixmac$", + "^com\\.p5sys\\.jump\\.mac\\.viewer$", + "^com\\.p5sys\\.jump\\.mac\\.viewer\\.", + "^com\\.teamviewer\\.TeamViewer$", + "^com\\.vmware\\.horizon$", + "^com\\.2X\\.Client\\.Mac$", + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyperterm$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^net\\.kovidgoyal\\.kitty$", + "^org\\.vim\\.", + "^com\\.qvacua\\.VimR$", + "^com\\.vmware\\.fusion$", + "^com\\.vmware\\.horizon$", + "^com\\.vmware\\.view$", + "^com\\.parallels\\.desktop$", + "^com\\.parallels\\.vm$", + "^com\\.parallels\\.desktop\\.console$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^com\\.citrix\\.XenAppViewer$", + "^com\\.vmware\\.proxyApp\\.", + "^com\\.parallels\\.winapp\\.", + "^org\\.x\\.X11$", + "^com\\.apple\\.x11$", + "^org\\.macosforge\\.xquartz\\.X11$", + "^org\\.macports\\.X11$", + "^com\\.sublimetext\\.", + "^com\\.microsoft\\.VSCode$" + ] + } + ] + } + ] + }, + { + "description": "Bash style Emacs key bindings (rev 2)", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "w", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "delete_or_backspace", + "modifiers": [ + "left_option" + ] + } + ], + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "^org\\.gnu\\.Emacs$", + "^org\\.gnu\\.AquamacsEmacs$", + "^org\\.gnu\\.Aquamacs$", + "^org\\.pqrs\\.unknownapp.conkeror$", + "^com\\.microsoft\\.rdc$", + "^com\\.microsoft\\.rdc\\.", + "^net\\.sf\\.cord$", + "^com\\.thinomenon\\.RemoteDesktopConnection$", + "^com\\.itap-mobile\\.qmote$", + "^com\\.nulana\\.remotixmac$", + "^com\\.p5sys\\.jump\\.mac\\.viewer$", + "^com\\.p5sys\\.jump\\.mac\\.viewer\\.", + "^com\\.teamviewer\\.TeamViewer$", + "^com\\.vmware\\.horizon$", + "^com\\.2X\\.Client\\.Mac$", + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyperterm$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^net\\.kovidgoyal\\.kitty$", + "^org\\.vim\\.", + "^com\\.qvacua\\.VimR$", + "^com\\.vmware\\.fusion$", + "^com\\.vmware\\.horizon$", + "^com\\.vmware\\.view$", + "^com\\.parallels\\.desktop$", + "^com\\.parallels\\.vm$", + "^com\\.parallels\\.desktop\\.console$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^com\\.citrix\\.XenAppViewer$", + "^com\\.vmware\\.proxyApp\\.", + "^com\\.parallels\\.winapp\\.", + "^org\\.x\\.X11$", + "^com\\.apple\\.x11$", + "^org\\.macosforge\\.xquartz\\.X11$", + "^org\\.macports\\.X11$", + "^com\\.sublimetext\\.", + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "u", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": [ + "left_command", + "left_shift" + ] + }, + { + "key_code": "delete_or_backspace", + "repeat": false + } + ], + "conditions": [ + { + "type": "frontmost_application_unless", + "bundle_identifiers": [ + "^org\\.gnu\\.Emacs$", + "^org\\.gnu\\.AquamacsEmacs$", + "^org\\.gnu\\.Aquamacs$", + "^org\\.pqrs\\.unknownapp.conkeror$", + "^com\\.microsoft\\.rdc$", + "^com\\.microsoft\\.rdc\\.", + "^net\\.sf\\.cord$", + "^com\\.thinomenon\\.RemoteDesktopConnection$", + "^com\\.itap-mobile\\.qmote$", + "^com\\.nulana\\.remotixmac$", + "^com\\.p5sys\\.jump\\.mac\\.viewer$", + "^com\\.p5sys\\.jump\\.mac\\.viewer\\.", + "^com\\.teamviewer\\.TeamViewer$", + "^com\\.vmware\\.horizon$", + "^com\\.2X\\.Client\\.Mac$", + "^com\\.apple\\.Terminal$", + "^com\\.googlecode\\.iterm2$", + "^co\\.zeit\\.hyperterm$", + "^co\\.zeit\\.hyper$", + "^io\\.alacritty$", + "^net\\.kovidgoyal\\.kitty$", + "^org\\.vim\\.", + "^com\\.qvacua\\.VimR$", + "^com\\.vmware\\.fusion$", + "^com\\.vmware\\.horizon$", + "^com\\.vmware\\.view$", + "^com\\.parallels\\.desktop$", + "^com\\.parallels\\.vm$", + "^com\\.parallels\\.desktop\\.console$", + "^org\\.virtualbox\\.app\\.VirtualBoxVM$", + "^com\\.citrix\\.XenAppViewer$", + "^com\\.vmware\\.proxyApp\\.", + "^com\\.parallels\\.winapp\\.", + "^org\\.x\\.X11$", + "^com\\.apple\\.x11$", + "^org\\.macosforge\\.xquartz\\.X11$", + "^org\\.macports\\.X11$", + "^com\\.sublimetext\\.", + "^com\\.microsoft\\.VSCode$" + ] + } + ] + } + ] + }, + { + "description": "For Visual Studio Code: Emacs key bindings [control+keys] (rev 10)", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "d", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "option" + ] + } + }, + "to": [ + { + "key_code": "delete_forward" + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "h", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "option" + ] + } + }, + "to": [ + { + "key_code": "delete_or_backspace" + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "i", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "shift" + ] + } + }, + "to": [ + { + "key_code": "tab" + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "open_bracket", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "escape" + } + ], + "conditions": [ + { + "type": "keyboard_type_if", + "keyboard_types": [ + "ansi", + "iso" + ] + }, + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "close_bracket", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "escape" + } + ], + "conditions": [ + { + "type": "keyboard_type_if", + "keyboard_types": [ + "jis" + ] + }, + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "m", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "shift", + "option" + ] + } + }, + "to": [ + { + "key_code": "return_or_enter" + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "b", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "shift", + "option" + ] + } + }, + "to": [ + { + "key_code": "left_arrow" + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "f", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "shift", + "option" + ] + } + }, + "to": [ + { + "key_code": "right_arrow" + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "n", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "shift", + "option" + ] + } + }, + "to": [ + { + "key_code": "down_arrow" + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "p", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "shift", + "option" + ] + } + }, + "to": [ + { + "key_code": "up_arrow" + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "v", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "shift" + ] + } + }, + "to": [ + { + "key_code": "page_down" + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "a", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "shift" + ] + } + }, + "to": [ + { + "key_code": "home" + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.Excel$", + "^com\\.microsoft\\.Powerpoint$", + "^com\\.microsoft\\.Word$" + ] + }, + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "e", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "shift" + ] + } + }, + "to": [ + { + "key_code": "end" + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.Excel$", + "^com\\.microsoft\\.Powerpoint$", + "^com\\.microsoft\\.Word$" + ] + }, + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "a", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "shift" + ] + } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": [ + "left_command" + ] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^org\\.eclipse\\.platform\\.ide$" + ] + }, + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "e", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "shift" + ] + } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": [ + "left_command" + ] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^org\\.eclipse\\.platform\\.ide$" + ] + }, + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "a", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "shift" + ] + } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": [ + "left_command" + ] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "e", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock", + "shift" + ] + } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": [ + "left_command" + ] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.VSCode$" + ] + } + ] + } + ] + }, + { + "description": "For Visual Studio Code: Emacs key bindings [option+keys] (rev 5)", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "v", + "modifiers": { + "mandatory": [ + "option" + ], + "optional": [ + "caps_lock", + "shift" + ] + } + }, + "to": [ + { + "key_code": "page_up" + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "b", + "modifiers": { + "mandatory": [ + "option" + ], + "optional": [ + "caps_lock", + "shift" + ] + } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": [ + "left_option" + ] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "f", + "modifiers": { + "mandatory": [ + "option" + ], + "optional": [ + "caps_lock", + "shift" + ] + } + }, + "to": [ + { + "key_code": "right_arrow", + "modifiers": [ + "left_option" + ] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "d", + "modifiers": { + "mandatory": [ + "option" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "delete_forward", + "modifiers": [ + "left_option" + ] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.VSCode$" + ] + } + ] + } + ] + }, + { + "description": "For Visual Studio Code: Bash style Emacs key bindings (rev 2)", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "w", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "delete_or_backspace", + "modifiers": [ + "left_option" + ] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.VSCode$" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "u", + "modifiers": { + "mandatory": [ + "control" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "left_arrow", + "modifiers": [ + "left_command", + "left_shift" + ] + }, + { + "key_code": "delete_or_backspace", + "repeat": false + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.microsoft\\.VSCode$" + ] + } + ] + } + ] + } + ] +} diff --git a/karabiner/assets/complex_modifications/1601183511.json b/karabiner/assets/complex_modifications/1601183511.json new file mode 100644 index 0000000..a162369 --- /dev/null +++ b/karabiner/assets/complex_modifications/1601183511.json @@ -0,0 +1,191 @@ +{ + "title": "Prevent unintended command-q (rev 2)", + "rules": [ + { + "description": "Quit application by pressing command-q twice", + "manipulators": [ + { + "type": "basic", + "conditions": [ + { + "type": "variable_if", + "name": "command-q", + "value": 1 + } + ], + "from": { + "key_code": "q", + "modifiers": { + "mandatory": [ + "command" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "q", + "modifiers": "left_command" + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "q", + "modifiers": { + "mandatory": [ + "command" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "set_variable": { + "name": "command-q", + "value": 1 + } + } + ], + "to_delayed_action": { + "to_if_invoked": [ + { + "set_variable": { + "name": "command-q", + "value": 0 + } + } + ], + "to_if_canceled": [ + { + "set_variable": { + "name": "command-q", + "value": 0 + } + } + ] + } + } + ] + }, + { + "description": "Quit application by holding command-q", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "q", + "modifiers": { + "mandatory": [ + "command" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to_if_held_down": [ + { + "key_code": "q", + "modifiers": [ + "left_command" + ], + "repeat": false + } + ] + } + ] + }, + { + "description": "Quit Safari by pressing command-q twice", + "manipulators": [ + { + "type": "basic", + "conditions": [ + { + "type": "variable_if", + "name": "command-q", + "value": 1 + }, + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.apple\\.Safari$" + ] + } + ], + "from": { + "key_code": "q", + "modifiers": { + "mandatory": [ + "command" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "q", + "modifiers": "left_command" + } + ] + }, + { + "type": "basic", + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com\\.apple\\.Safari$" + ] + } + ], + "from": { + "key_code": "q", + "modifiers": { + "mandatory": [ + "command" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "set_variable": { + "name": "command-q", + "value": 1 + } + } + ], + "to_delayed_action": { + "to_if_invoked": [ + { + "set_variable": { + "name": "command-q", + "value": 0 + } + } + ], + "to_if_canceled": [ + { + "set_variable": { + "name": "command-q", + "value": 0 + } + } + ] + } + } + ] + } + ] +} diff --git a/karabiner/karabiner.json b/karabiner/karabiner.json index f2eb9e4..8ab0cb6 100644 --- a/karabiner/karabiner.json +++ b/karabiner/karabiner.json @@ -777,32 +777,6 @@ } ] }, - { - "manipulators": [ - { - "description": "Change caps_lock to command+control+option+shift.", - "from": { - "key_code": "caps_lock", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_shift", - "modifiers": [ - "left_command", - "left_control", - "left_option" - ] - } - ], - "type": "basic" - } - ] - }, { "description": "Use F2 as Rename", "manipulators": [ @@ -875,6 +849,78 @@ "type": "basic" } ] + }, + { + "description": "Quit application by pressing command-q twice", + "manipulators": [ + { + "conditions": [ + { + "name": "command-q", + "type": "variable_if", + "value": 1 + } + ], + "from": { + "key_code": "q", + "modifiers": { + "mandatory": [ + "command" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "key_code": "q", + "modifiers": "left_command" + } + ], + "type": "basic" + }, + { + "from": { + "key_code": "q", + "modifiers": { + "mandatory": [ + "command" + ], + "optional": [ + "caps_lock" + ] + } + }, + "to": [ + { + "set_variable": { + "name": "command-q", + "value": 1 + } + } + ], + "to_delayed_action": { + "to_if_canceled": [ + { + "set_variable": { + "name": "command-q", + "value": 0 + } + } + ], + "to_if_invoked": [ + { + "set_variable": { + "name": "command-q", + "value": 0 + } + } + ] + }, + "type": "basic" + } + ] } ] }, @@ -1059,32 +1105,6 @@ "mouse_motion_to_scroll.speed": 100 }, "rules": [ - { - "manipulators": [ - { - "description": "Change caps_lock to command+control+option+shift.", - "from": { - "key_code": "caps_lock", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_shift", - "modifiers": [ - "left_command", - "left_control", - "left_option" - ] - } - ], - "type": "basic" - } - ] - }, { "description": "Emacs key bindings [control+keys] (rev 10)", "manipulators": [ @@ -1821,6 +1841,37 @@ } ] }, + { + "description": "CapsLock to Hyper/Escape", + "manipulators": [ + { + "from": { + "key_code": "caps_lock", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "right_shift", + "modifiers": [ + "right_command", + "right_control", + "right_option" + ] + } + ], + "to_if_alone": [ + { + "key_code": "escape" + } + ], + "type": "basic" + } + ] + }, { "description": "Use F2 as Rename", "manipulators": [ @@ -1876,6 +1927,23 @@ "type": "basic" } ] + }, + { + "description": "Disable Cmd+H Hide (rev 2)", + "manipulators": [ + { + "description": "", + "from": { + "key_code": "h", + "modifiers": { + "mandatory": [ + "command" + ] + } + }, + "type": "basic" + } + ] } ] }, @@ -2013,741 +2081,6 @@ "mouse_motion_to_scroll.speed": 100 }, "rules": [ - { - "description": "Emacs key bindings [control+keys] (rev 10)", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.gnu\\.Emacs$", - "^org\\.gnu\\.AquamacsEmacs$", - "^org\\.gnu\\.Aquamacs$", - "^org\\.pqrs\\.unknownapp.conkeror$", - "^com\\.microsoft\\.rdc$", - "^com\\.microsoft\\.rdc\\.", - "^net\\.sf\\.cord$", - "^com\\.thinomenon\\.RemoteDesktopConnection$", - "^com\\.itap-mobile\\.qmote$", - "^com\\.nulana\\.remotixmac$", - "^com\\.p5sys\\.jump\\.mac\\.viewer$", - "^com\\.p5sys\\.jump\\.mac\\.viewer\\.", - "^com\\.teamviewer\\.TeamViewer$", - "^com\\.vmware\\.horizon$", - "^com\\.2X\\.Client\\.Mac$", - "^com\\.apple\\.Terminal$", - "^com\\.googlecode\\.iterm2$", - "^co\\.zeit\\.hyperterm$", - "^co\\.zeit\\.hyper$", - "^io\\.alacritty$", - "^net\\.kovidgoyal\\.kitty$", - "^org\\.vim\\.", - "^com\\.qvacua\\.VimR$", - "^com\\.vmware\\.fusion$", - "^com\\.vmware\\.horizon$", - "^com\\.vmware\\.view$", - "^com\\.parallels\\.desktop$", - "^com\\.parallels\\.vm$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.vmware\\.proxyApp\\.", - "^com\\.parallels\\.winapp\\.", - "^org\\.x\\.X11$", - "^com\\.apple\\.x11$", - "^org\\.macosforge\\.xquartz\\.X11$", - "^org\\.macports\\.X11$", - "^com\\.sublimetext\\.", - "^com\\.microsoft\\.VSCode$" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "d", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "option" - ] - } - }, - "to": [ - { - "key_code": "delete_forward" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.gnu\\.Emacs$", - "^org\\.gnu\\.AquamacsEmacs$", - "^org\\.gnu\\.Aquamacs$", - "^org\\.pqrs\\.unknownapp.conkeror$", - "^com\\.microsoft\\.rdc$", - "^com\\.microsoft\\.rdc\\.", - "^net\\.sf\\.cord$", - "^com\\.thinomenon\\.RemoteDesktopConnection$", - "^com\\.itap-mobile\\.qmote$", - "^com\\.nulana\\.remotixmac$", - "^com\\.p5sys\\.jump\\.mac\\.viewer$", - "^com\\.p5sys\\.jump\\.mac\\.viewer\\.", - "^com\\.teamviewer\\.TeamViewer$", - "^com\\.vmware\\.horizon$", - "^com\\.2X\\.Client\\.Mac$", - "^com\\.apple\\.Terminal$", - "^com\\.googlecode\\.iterm2$", - "^co\\.zeit\\.hyperterm$", - "^co\\.zeit\\.hyper$", - "^io\\.alacritty$", - "^net\\.kovidgoyal\\.kitty$", - "^org\\.vim\\.", - "^com\\.qvacua\\.VimR$", - "^com\\.vmware\\.fusion$", - "^com\\.vmware\\.horizon$", - "^com\\.vmware\\.view$", - "^com\\.parallels\\.desktop$", - "^com\\.parallels\\.vm$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.vmware\\.proxyApp\\.", - "^com\\.parallels\\.winapp\\.", - "^org\\.x\\.X11$", - "^com\\.apple\\.x11$", - "^org\\.macosforge\\.xquartz\\.X11$", - "^org\\.macports\\.X11$", - "^com\\.sublimetext\\.", - "^com\\.microsoft\\.VSCode$" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "h", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "option" - ] - } - }, - "to": [ - { - "key_code": "delete_or_backspace" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.gnu\\.Emacs$", - "^org\\.gnu\\.AquamacsEmacs$", - "^org\\.gnu\\.Aquamacs$", - "^org\\.pqrs\\.unknownapp.conkeror$", - "^com\\.microsoft\\.rdc$", - "^com\\.microsoft\\.rdc\\.", - "^net\\.sf\\.cord$", - "^com\\.thinomenon\\.RemoteDesktopConnection$", - "^com\\.itap-mobile\\.qmote$", - "^com\\.nulana\\.remotixmac$", - "^com\\.p5sys\\.jump\\.mac\\.viewer$", - "^com\\.p5sys\\.jump\\.mac\\.viewer\\.", - "^com\\.teamviewer\\.TeamViewer$", - "^com\\.vmware\\.horizon$", - "^com\\.2X\\.Client\\.Mac$", - "^com\\.apple\\.Terminal$", - "^com\\.googlecode\\.iterm2$", - "^co\\.zeit\\.hyperterm$", - "^co\\.zeit\\.hyper$", - "^io\\.alacritty$", - "^net\\.kovidgoyal\\.kitty$", - "^org\\.vim\\.", - "^com\\.qvacua\\.VimR$", - "^com\\.vmware\\.fusion$", - "^com\\.vmware\\.horizon$", - "^com\\.vmware\\.view$", - "^com\\.parallels\\.desktop$", - "^com\\.parallels\\.vm$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.vmware\\.proxyApp\\.", - "^com\\.parallels\\.winapp\\.", - "^org\\.x\\.X11$", - "^com\\.apple\\.x11$", - "^org\\.macosforge\\.xquartz\\.X11$", - "^org\\.macports\\.X11$", - "^com\\.sublimetext\\.", - "^com\\.microsoft\\.VSCode$" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "i", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "shift" - ] - } - }, - "to": [ - { - "key_code": "tab" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "keyboard_types": [ - "ansi", - "iso" - ], - "type": "keyboard_type_if" - } - ], - "from": { - "key_code": "open_bracket", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock" - ] - } - }, - "to": [ - { - "key_code": "escape" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "keyboard_types": [ - "jis" - ], - "type": "keyboard_type_if" - } - ], - "from": { - "key_code": "close_bracket", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock" - ] - } - }, - "to": [ - { - "key_code": "escape" - } - ], - "type": "basic" - }, - { - "from": { - "key_code": "m", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "shift", - "option" - ] - } - }, - "to": [ - { - "key_code": "return_or_enter" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.gnu\\.Emacs$", - "^org\\.gnu\\.AquamacsEmacs$", - "^org\\.gnu\\.Aquamacs$", - "^org\\.pqrs\\.unknownapp.conkeror$", - "^com\\.microsoft\\.rdc$", - "^com\\.microsoft\\.rdc\\.", - "^net\\.sf\\.cord$", - "^com\\.thinomenon\\.RemoteDesktopConnection$", - "^com\\.itap-mobile\\.qmote$", - "^com\\.nulana\\.remotixmac$", - "^com\\.p5sys\\.jump\\.mac\\.viewer$", - "^com\\.p5sys\\.jump\\.mac\\.viewer\\.", - "^com\\.teamviewer\\.TeamViewer$", - "^com\\.vmware\\.horizon$", - "^com\\.2X\\.Client\\.Mac$", - "^com\\.apple\\.Terminal$", - "^com\\.googlecode\\.iterm2$", - "^co\\.zeit\\.hyperterm$", - "^co\\.zeit\\.hyper$", - "^io\\.alacritty$", - "^net\\.kovidgoyal\\.kitty$", - "^org\\.vim\\.", - "^com\\.qvacua\\.VimR$", - "^com\\.vmware\\.fusion$", - "^com\\.vmware\\.horizon$", - "^com\\.vmware\\.view$", - "^com\\.parallels\\.desktop$", - "^com\\.parallels\\.vm$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.vmware\\.proxyApp\\.", - "^com\\.parallels\\.winapp\\.", - "^org\\.x\\.X11$", - "^com\\.apple\\.x11$", - "^org\\.macosforge\\.xquartz\\.X11$", - "^org\\.macports\\.X11$", - "^com\\.sublimetext\\.", - "^com\\.microsoft\\.VSCode$" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "b", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "shift", - "option" - ] - } - }, - "to": [ - { - "key_code": "left_arrow" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.gnu\\.Emacs$", - "^org\\.gnu\\.AquamacsEmacs$", - "^org\\.gnu\\.Aquamacs$", - "^org\\.pqrs\\.unknownapp.conkeror$", - "^com\\.microsoft\\.rdc$", - "^com\\.microsoft\\.rdc\\.", - "^net\\.sf\\.cord$", - "^com\\.thinomenon\\.RemoteDesktopConnection$", - "^com\\.itap-mobile\\.qmote$", - "^com\\.nulana\\.remotixmac$", - "^com\\.p5sys\\.jump\\.mac\\.viewer$", - "^com\\.p5sys\\.jump\\.mac\\.viewer\\.", - "^com\\.teamviewer\\.TeamViewer$", - "^com\\.vmware\\.horizon$", - "^com\\.2X\\.Client\\.Mac$", - "^com\\.apple\\.Terminal$", - "^com\\.googlecode\\.iterm2$", - "^co\\.zeit\\.hyperterm$", - "^co\\.zeit\\.hyper$", - "^io\\.alacritty$", - "^net\\.kovidgoyal\\.kitty$", - "^org\\.vim\\.", - "^com\\.qvacua\\.VimR$", - "^com\\.vmware\\.fusion$", - "^com\\.vmware\\.horizon$", - "^com\\.vmware\\.view$", - "^com\\.parallels\\.desktop$", - "^com\\.parallels\\.vm$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.vmware\\.proxyApp\\.", - "^com\\.parallels\\.winapp\\.", - "^org\\.x\\.X11$", - "^com\\.apple\\.x11$", - "^org\\.macosforge\\.xquartz\\.X11$", - "^org\\.macports\\.X11$", - "^com\\.sublimetext\\.", - "^com\\.microsoft\\.VSCode$" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "f", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "shift", - "option" - ] - } - }, - "to": [ - { - "key_code": "right_arrow" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.gnu\\.Emacs$", - "^org\\.gnu\\.AquamacsEmacs$", - "^org\\.gnu\\.Aquamacs$", - "^org\\.pqrs\\.unknownapp.conkeror$", - "^com\\.microsoft\\.rdc$", - "^com\\.microsoft\\.rdc\\.", - "^net\\.sf\\.cord$", - "^com\\.thinomenon\\.RemoteDesktopConnection$", - "^com\\.itap-mobile\\.qmote$", - "^com\\.nulana\\.remotixmac$", - "^com\\.p5sys\\.jump\\.mac\\.viewer$", - "^com\\.p5sys\\.jump\\.mac\\.viewer\\.", - "^com\\.teamviewer\\.TeamViewer$", - "^com\\.vmware\\.horizon$", - "^com\\.2X\\.Client\\.Mac$", - "^com\\.apple\\.Terminal$", - "^com\\.googlecode\\.iterm2$", - "^co\\.zeit\\.hyperterm$", - "^co\\.zeit\\.hyper$", - "^io\\.alacritty$", - "^net\\.kovidgoyal\\.kitty$", - "^org\\.vim\\.", - "^com\\.qvacua\\.VimR$", - "^com\\.vmware\\.fusion$", - "^com\\.vmware\\.horizon$", - "^com\\.vmware\\.view$", - "^com\\.parallels\\.desktop$", - "^com\\.parallels\\.vm$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.vmware\\.proxyApp\\.", - "^com\\.parallels\\.winapp\\.", - "^org\\.x\\.X11$", - "^com\\.apple\\.x11$", - "^org\\.macosforge\\.xquartz\\.X11$", - "^org\\.macports\\.X11$", - "^com\\.sublimetext\\.", - "^com\\.microsoft\\.VSCode$" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "n", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "shift", - "option" - ] - } - }, - "to": [ - { - "key_code": "down_arrow" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.gnu\\.Emacs$", - "^org\\.gnu\\.AquamacsEmacs$", - "^org\\.gnu\\.Aquamacs$", - "^org\\.pqrs\\.unknownapp.conkeror$", - "^com\\.microsoft\\.rdc$", - "^com\\.microsoft\\.rdc\\.", - "^net\\.sf\\.cord$", - "^com\\.thinomenon\\.RemoteDesktopConnection$", - "^com\\.itap-mobile\\.qmote$", - "^com\\.nulana\\.remotixmac$", - "^com\\.p5sys\\.jump\\.mac\\.viewer$", - "^com\\.p5sys\\.jump\\.mac\\.viewer\\.", - "^com\\.teamviewer\\.TeamViewer$", - "^com\\.vmware\\.horizon$", - "^com\\.2X\\.Client\\.Mac$", - "^com\\.apple\\.Terminal$", - "^com\\.googlecode\\.iterm2$", - "^co\\.zeit\\.hyperterm$", - "^co\\.zeit\\.hyper$", - "^io\\.alacritty$", - "^net\\.kovidgoyal\\.kitty$", - "^org\\.vim\\.", - "^com\\.qvacua\\.VimR$", - "^com\\.vmware\\.fusion$", - "^com\\.vmware\\.horizon$", - "^com\\.vmware\\.view$", - "^com\\.parallels\\.desktop$", - "^com\\.parallels\\.vm$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.vmware\\.proxyApp\\.", - "^com\\.parallels\\.winapp\\.", - "^org\\.x\\.X11$", - "^com\\.apple\\.x11$", - "^org\\.macosforge\\.xquartz\\.X11$", - "^org\\.macports\\.X11$", - "^com\\.sublimetext\\.", - "^com\\.microsoft\\.VSCode$" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "p", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "shift", - "option" - ] - } - }, - "to": [ - { - "key_code": "up_arrow" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.gnu\\.Emacs$", - "^org\\.gnu\\.AquamacsEmacs$", - "^org\\.gnu\\.Aquamacs$", - "^org\\.pqrs\\.unknownapp.conkeror$", - "^com\\.microsoft\\.rdc$", - "^com\\.microsoft\\.rdc\\.", - "^net\\.sf\\.cord$", - "^com\\.thinomenon\\.RemoteDesktopConnection$", - "^com\\.itap-mobile\\.qmote$", - "^com\\.nulana\\.remotixmac$", - "^com\\.p5sys\\.jump\\.mac\\.viewer$", - "^com\\.p5sys\\.jump\\.mac\\.viewer\\.", - "^com\\.teamviewer\\.TeamViewer$", - "^com\\.vmware\\.horizon$", - "^com\\.2X\\.Client\\.Mac$", - "^com\\.apple\\.Terminal$", - "^com\\.googlecode\\.iterm2$", - "^co\\.zeit\\.hyperterm$", - "^co\\.zeit\\.hyper$", - "^io\\.alacritty$", - "^net\\.kovidgoyal\\.kitty$", - "^org\\.vim\\.", - "^com\\.qvacua\\.VimR$", - "^com\\.vmware\\.fusion$", - "^com\\.vmware\\.horizon$", - "^com\\.vmware\\.view$", - "^com\\.parallels\\.desktop$", - "^com\\.parallels\\.vm$", - "^com\\.parallels\\.desktop\\.console$", - "^org\\.virtualbox\\.app\\.VirtualBoxVM$", - "^com\\.citrix\\.XenAppViewer$", - "^com\\.vmware\\.proxyApp\\.", - "^com\\.parallels\\.winapp\\.", - "^org\\.x\\.X11$", - "^com\\.apple\\.x11$", - "^org\\.macosforge\\.xquartz\\.X11$", - "^org\\.macports\\.X11$", - "^com\\.sublimetext\\.", - "^com\\.microsoft\\.VSCode$" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "v", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "shift" - ] - } - }, - "to": [ - { - "key_code": "page_down" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "bundle_identifiers": [ - "^com\\.microsoft\\.Excel$", - "^com\\.microsoft\\.Powerpoint$", - "^com\\.microsoft\\.Word$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "a", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "shift" - ] - } - }, - "to": [ - { - "key_code": "home" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "bundle_identifiers": [ - "^com\\.microsoft\\.Excel$", - "^com\\.microsoft\\.Powerpoint$", - "^com\\.microsoft\\.Word$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "e", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "shift" - ] - } - }, - "to": [ - { - "key_code": "end" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.eclipse\\.platform\\.ide$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "a", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "shift" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "bundle_identifiers": [ - "^org\\.eclipse\\.platform\\.ide$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "e", - "modifiers": { - "mandatory": [ - "control" - ], - "optional": [ - "caps_lock", - "shift" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - } - ] - }, { "manipulators": [ {