diff --git a/.gitignore b/.gitignore index 3e59e25..6ca2b86 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,5 @@ Session.vim *~ *.ba + +karabiner/automatic_backups/* diff --git a/karabiner/assets/complex_modifications/1598152132.json b/karabiner/assets/complex_modifications/1598152132.json new file mode 100644 index 0000000..678d5b4 --- /dev/null +++ b/karabiner/assets/complex_modifications/1598152132.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/1598163341.json b/karabiner/assets/complex_modifications/1598163341.json new file mode 100644 index 0000000..c2c484f --- /dev/null +++ b/karabiner/assets/complex_modifications/1598163341.json @@ -0,0 +1,189 @@ +{ + "title": "Finder", + "rules": [ + { + "description": "Use Return as Open", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "return_or_enter", + "modifiers": { + "optional": ["any"] + } + }, + "to": [ + { + "key_code": "o", + "modifiers": ["right_command"] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com.apple.finder" + ] + } + ] + } + ] + }, + { + "description": "Use Return as Open and Use Fn+Return as Rename", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "return_or_enter", + "modifiers": { + "mandatory": [ + "fn" + ] + } + }, + "to": [ + { + "key_code": "return_or_enter" + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com.apple.finder" + ] + } + ] + }, + { + "type": "basic", + "from": { + "key_code": "return_or_enter" + }, + "to": [ + { + "key_code": "o", + "modifiers": ["right_command"] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com.apple.finder" + ] + } + ] + } + ] + }, + { + "description": "Use F2 as Rename", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "f2" + }, + "to": [ + { + "key_code": "return_or_enter" + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com.apple.finder" + ] + } + ] + } + ] + }, + { + "description": "Use Delete as Move to Trash", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "delete_forward", + "modifiers": { + "optional": ["any"] + } + }, + "to": [ + { + "key_code": "delete_or_backspace", + "modifiers": ["left_command"] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com.apple.finder" + ] + } + ] + } + ] + }, + { + "description": "Use Fn+Delete as Move to Trash", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "delete_forward", + "modifiers": { + "mandatory": [ + "fn" + ] + } + }, + "to": [ + { + "key_code": "delete_or_backspace", + "modifiers": ["left_command"] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com.apple.finder" + ] + } + ] + } + ] + }, + { + "description": "Use Backspace as Go to Previous Folder", + "manipulators": [ + { + "type": "basic", + "from": { + "key_code": "delete_or_backspace" + }, + "to": [ + { + "key_code": "semicolon", + "modifiers": ["left_command"] + } + ], + "conditions": [ + { + "type": "frontmost_application_if", + "bundle_identifiers": [ + "^com.apple.finder" + ] + } + ] + } + ] + } + ] +} diff --git a/karabiner/karabiner.json b/karabiner/karabiner.json new file mode 100644 index 0000000..34fa6bb --- /dev/null +++ b/karabiner/karabiner.json @@ -0,0 +1,2161 @@ +{ + "global": { + "check_for_updates_on_startup": true, + "show_in_menu_bar": true, + "show_profile_name_in_menu_bar": false + }, + "profiles": [ + { + "complex_modifications": { + "parameters": { + "basic.simultaneous_threshold_milliseconds": 50, + "basic.to_delayed_action_delay_milliseconds": 500, + "basic.to_if_alone_timeout_milliseconds": 1000, + "basic.to_if_held_down_threshold_milliseconds": 500, + "mouse_motion_to_scroll.speed": 100 + }, + "rules": [ + { + "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" + } + ] + } + ] + }, + "devices": [ + { + "disable_built_in_keyboard_if_exists": false, + "fn_function_keys": [], + "identifiers": { + "is_keyboard": false, + "is_pointing_device": true, + "product_id": 12314, + "vendor_id": 16700 + }, + "ignore": false, + "manipulate_caps_lock_led": false, + "simple_modifications": [] + }, + { + "disable_built_in_keyboard_if_exists": false, + "fn_function_keys": [], + "identifiers": { + "is_keyboard": true, + "is_pointing_device": false, + "product_id": 17, + "vendor_id": 9494 + }, + "ignore": false, + "manipulate_caps_lock_led": false, + "simple_modifications": [ + { + "from": { + "key_code": "left_command" + }, + "to": { + "key_code": "left_option" + } + }, + { + "from": { + "key_code": "left_option" + }, + "to": { + "key_code": "left_command" + } + } + ] + } + ], + "fn_function_keys": [ + { + "from": { + "key_code": "f1" + }, + "to": { + "consumer_key_code": "display_brightness_decrement" + } + }, + { + "from": { + "key_code": "f2" + }, + "to": { + "consumer_key_code": "display_brightness_increment" + } + }, + { + "from": { + "key_code": "f3" + }, + "to": { + "key_code": "mission_control" + } + }, + { + "from": { + "key_code": "f4" + }, + "to": { + "key_code": "launchpad" + } + }, + { + "from": { + "key_code": "f5" + }, + "to": { + "key_code": "illumination_decrement" + } + }, + { + "from": { + "key_code": "f6" + }, + "to": { + "key_code": "illumination_increment" + } + }, + { + "from": { + "key_code": "f7" + }, + "to": { + "consumer_key_code": "rewind" + } + }, + { + "from": { + "key_code": "f8" + }, + "to": { + "consumer_key_code": "play_or_pause" + } + }, + { + "from": { + "key_code": "f9" + }, + "to": { + "consumer_key_code": "fast_forward" + } + }, + { + "from": { + "key_code": "f10" + }, + "to": { + "consumer_key_code": "mute" + } + }, + { + "from": { + "key_code": "f11" + }, + "to": { + "consumer_key_code": "volume_decrement" + } + }, + { + "from": { + "key_code": "f12" + }, + "to": { + "consumer_key_code": "volume_increment" + } + } + ], + "name": "Work", + "parameters": { + "delay_milliseconds_before_open_device": 1000 + }, + "selected": false, + "simple_modifications": [ + { + "from": { + "key_code": "left_command" + }, + "to": { + "key_code": "left_option" + } + }, + { + "from": { + "key_code": "left_option" + }, + "to": { + "key_code": "left_command" + } + } + ], + "virtual_hid_keyboard": { + "country_code": 0, + "mouse_key_xy_scale": 100 + } + }, + { + "complex_modifications": { + "parameters": { + "basic.simultaneous_threshold_milliseconds": 50, + "basic.to_delayed_action_delay_milliseconds": 500, + "basic.to_if_alone_timeout_milliseconds": 1000, + "basic.to_if_held_down_threshold_milliseconds": 500, + "mouse_motion_to_scroll.speed": 100 + }, + "rules": [ + { + "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": [ + { + "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" + } + ] + }, + { + "description": "Use F2 as Rename", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com.apple.finder" + ], + "type": "frontmost_application_if" + } + ], + "from": { + "key_code": "f2" + }, + "to": [ + { + "key_code": "return_or_enter" + } + ], + "type": "basic" + } + ] + }, + { + "description": "Use Return as Open", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com.apple.finder" + ], + "type": "frontmost_application_if" + } + ], + "from": { + "key_code": "return_or_enter", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "o", + "modifiers": [ + "right_command" + ] + } + ], + "type": "basic" + } + ] + } + ] + }, + "devices": [ + { + "disable_built_in_keyboard_if_exists": false, + "fn_function_keys": [], + "identifiers": { + "is_keyboard": true, + "is_pointing_device": false, + "product_id": 34304, + "vendor_id": 1452 + }, + "ignore": false, + "manipulate_caps_lock_led": true, + "simple_modifications": [] + } + ], + "fn_function_keys": [ + { + "from": { + "key_code": "f1" + }, + "to": { + "consumer_key_code": "display_brightness_decrement" + } + }, + { + "from": { + "key_code": "f2" + }, + "to": { + "consumer_key_code": "display_brightness_increment" + } + }, + { + "from": { + "key_code": "f3" + }, + "to": { + "key_code": "mission_control" + } + }, + { + "from": { + "key_code": "f4" + }, + "to": { + "key_code": "launchpad" + } + }, + { + "from": { + "key_code": "f5" + }, + "to": { + "key_code": "illumination_decrement" + } + }, + { + "from": { + "key_code": "f6" + }, + "to": { + "key_code": "illumination_increment" + } + }, + { + "from": { + "key_code": "f7" + }, + "to": { + "consumer_key_code": "rewind" + } + }, + { + "from": { + "key_code": "f8" + }, + "to": { + "consumer_key_code": "play_or_pause" + } + }, + { + "from": { + "key_code": "f9" + }, + "to": { + "consumer_key_code": "fast_forward" + } + }, + { + "from": { + "key_code": "f10" + }, + "to": { + "consumer_key_code": "mute" + } + }, + { + "from": { + "key_code": "f11" + }, + "to": { + "consumer_key_code": "volume_decrement" + } + }, + { + "from": { + "key_code": "f12" + }, + "to": { + "consumer_key_code": "volume_increment" + } + } + ], + "name": "Built-in", + "parameters": { + "delay_milliseconds_before_open_device": 1000 + }, + "selected": true, + "simple_modifications": [], + "virtual_hid_keyboard": { + "country_code": 0, + "mouse_key_xy_scale": 100 + } + }, + { + "complex_modifications": { + "parameters": { + "basic.simultaneous_threshold_milliseconds": 50, + "basic.to_delayed_action_delay_milliseconds": 500, + "basic.to_if_alone_timeout_milliseconds": 1000, + "basic.to_if_held_down_threshold_milliseconds": 500, + "mouse_motion_to_scroll.speed": 100 + }, + "rules": [ + { + "description": "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": [ + { + "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 Return as Open", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com.apple.finder" + ], + "type": "frontmost_application_if" + } + ], + "from": { + "key_code": "return_or_enter", + "modifiers": { + "optional": [ + "any" + ] + } + }, + "to": [ + { + "key_code": "o", + "modifiers": [ + "right_command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Use Return as Open and Use Fn+Return as Rename", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com.apple.finder" + ], + "type": "frontmost_application_if" + } + ], + "from": { + "key_code": "return_or_enter", + "modifiers": { + "mandatory": [ + "fn" + ] + } + }, + "to": [ + { + "key_code": "return_or_enter" + } + ], + "type": "basic" + }, + { + "conditions": [ + { + "bundle_identifiers": [ + "^com.apple.finder" + ], + "type": "frontmost_application_if" + } + ], + "from": { + "key_code": "return_or_enter" + }, + "to": [ + { + "key_code": "o", + "modifiers": [ + "right_command" + ] + } + ], + "type": "basic" + } + ] + }, + { + "description": "Use F2 as Rename", + "manipulators": [ + { + "conditions": [ + { + "bundle_identifiers": [ + "^com.apple.finder" + ], + "type": "frontmost_application_if" + } + ], + "from": { + "key_code": "f2" + }, + "to": [ + { + "key_code": "return_or_enter" + } + ], + "type": "basic" + } + ] + } + ] + }, + "devices": [], + "fn_function_keys": [ + { + "from": { + "key_code": "f1" + }, + "to": { + "consumer_key_code": "display_brightness_decrement" + } + }, + { + "from": { + "key_code": "f2" + }, + "to": { + "consumer_key_code": "display_brightness_increment" + } + }, + { + "from": { + "key_code": "f3" + }, + "to": { + "key_code": "mission_control" + } + }, + { + "from": { + "key_code": "f4" + }, + "to": { + "key_code": "launchpad" + } + }, + { + "from": { + "key_code": "f5" + }, + "to": { + "key_code": "illumination_decrement" + } + }, + { + "from": { + "key_code": "f6" + }, + "to": { + "key_code": "illumination_increment" + } + }, + { + "from": { + "key_code": "f7" + }, + "to": { + "consumer_key_code": "rewind" + } + }, + { + "from": { + "key_code": "f8" + }, + "to": { + "consumer_key_code": "play_or_pause" + } + }, + { + "from": { + "key_code": "f9" + }, + "to": { + "consumer_key_code": "fast_forward" + } + }, + { + "from": { + "key_code": "f10" + }, + "to": { + "consumer_key_code": "mute" + } + }, + { + "from": { + "key_code": "f11" + }, + "to": { + "consumer_key_code": "volume_decrement" + } + }, + { + "from": { + "key_code": "f12" + }, + "to": { + "consumer_key_code": "volume_increment" + } + } + ], + "name": "test", + "parameters": { + "delay_milliseconds_before_open_device": 1000 + }, + "selected": false, + "simple_modifications": [], + "virtual_hid_keyboard": { + "country_code": 0, + "mouse_key_xy_scale": 100 + } + } + ] +} \ No newline at end of file