diff --git a/.gitignore b/.gitignore index 1c19104..5190cd8 100644 --- a/.gitignore +++ b/.gitignore @@ -13,5 +13,6 @@ Session.vim *.ba karabiner/automatic_backups/* +karabiner/karabiner.json .idea/* *.pyc diff --git a/karabiner/assets/complex_modifications/1598152132.json b/karabiner/assets/complex_modifications/1598152132.json deleted file mode 100644 index 678d5b4..0000000 --- a/karabiner/assets/complex_modifications/1598152132.json +++ /dev/null @@ -1,2094 +0,0 @@ -{ - "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 deleted file mode 100644 index c2c484f..0000000 --- a/karabiner/assets/complex_modifications/1598163341.json +++ /dev/null @@ -1,189 +0,0 @@ -{ - "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/assets/complex_modifications/1598345273.json b/karabiner/assets/complex_modifications/1598345273.json deleted file mode 100644 index 71909d1..0000000 --- a/karabiner/assets/complex_modifications/1598345273.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "title": "Prevent unintended command-h hide window (rev 2)", - "rules": [ - { - "description": "Disable Cmd+H Hide (rev 2)", - "manipulators": [ - { - "type": "basic", - "description": "", - "from": { - "key_code": "h", - "modifiers": { - "mandatory": ["command"] - } - } - } - ] - } - ] -} diff --git a/karabiner/assets/complex_modifications/1600571122.json b/karabiner/assets/complex_modifications/1600571122.json deleted file mode 100644 index 870f1d0..0000000 --- a/karabiner/assets/complex_modifications/1600571122.json +++ /dev/null @@ -1,502 +0,0 @@ -{ - "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 deleted file mode 100644 index 678d5b4..0000000 --- a/karabiner/assets/complex_modifications/1601100681.json +++ /dev/null @@ -1,2094 +0,0 @@ -{ - "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 deleted file mode 100644 index a162369..0000000 --- a/karabiner/assets/complex_modifications/1601183511.json +++ /dev/null @@ -1,191 +0,0 @@ -{ - "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.edn b/karabiner/karabiner.edn index 4e65f53..6157db4 100644 --- a/karabiner/karabiner.edn +++ b/karabiner/karabiner.edn @@ -433,7 +433,7 @@ [:t :quote] [:o :open_bracket] ; [ [:p :close_bracket] ; ] - [:open_bracket :!Sclose_bracket] ; } + [:open_bracket :!Sclose_bracket] [:caps_lock [:km "Match symbols"]] [:a :slash] [:s :!Shyphen] @@ -449,38 +449,19 @@ [:c :!S7] [:v :!Scomma] [:b [:slash :slash :spacebar]]]} ; -> // - {:des "okey (alfred)" + {:des "Open related applications" :rules [:o-mode [:1 :!C1] [:2 :!C2] [:3 :!C3] [:4 :!C4] - [:5 :!C5] - [:6 :!C6] - [:q [:alfred "search downloads" "recentdownloads.ddjfreedom"]] - [:w :!CObackslash] ; 1Password search - [:e [:km "Make 2Do task"]] - [:r [:km "Make 2Do task with note as current URL"]] - [:t [:km "Make 2Do task with Safari title as name + note as current URL"]] - ;[:i [:alfred "search alfred" "nikivi.utilities" "?"]] [:i [:open "/Applications/iTerm.app"]] - [:caps_lock [:alfred "search desktop" "com.vitorgalvao.alfred.directories"]] - [:a [:alfred "search files" "nikivi.manage.notes"]] ; TODO: add blog, drafts [:b [:open "/Applications/Obsidian.app"]] - [:w [:open "/Applications/Lark.app"]] - [:s [:alfred "search code" "nikivi.manage.notes"]] - [:d [:alfred "search repos" "net.deanishe.alfred-git-repos"]] - [:f [:alfred "search folders" "nikivi.search.folders"]] - [:g [:km "2Do with current url as note (github)"]] - [:j [:alfred "run" "iansinnott.keyboardmaestro"]] - [:k [:open "/Applications/kitty.app"]] - [:grave_accent_and_tilde [:alfred "search processes" "com.vitorgalvao.alfred.processcontrol"]] - [:x [:alfred "search workflows" "org.jeef.workflowdirectory"]] + [:e [:open "/Applications/Lark.app"]] + [:w [:open "/Applications/WeChat.app"]] + [:g [:open "/Applications/GoldenDict.app"]] ;[:c [:alfred "search emoji" "com.github.jsumners.alfred-emoji"]] [:c [:open "/Applications/Google Chrome.app"]] - [:v [:alfred "search clones" "com.vitorgalvao.alfred.directories"]] - [:n [:alfred "search lists" "nikivi.learn.anything"]] - [:m [:alfred "search lists" "nikivi.awesome.lists"]] [:spacebar [:alfred "search PDFs" "nikivi.search.files"]]]} {:des "capskey (todo + trello)" :rules [:caps-mode diff --git a/karabiner/karabiner.json b/karabiner/karabiner.json deleted file mode 100644 index 94f606d..0000000 --- a/karabiner/karabiner.json +++ /dev/null @@ -1,46728 +0,0 @@ -{ - "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" - } - ] - }, - { - "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$", - "^com\\.jetbrains\\.intellij$" - ], - "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" - } - ] - }, - { - "description": "Disable Cmd+H Hide (rev 2)", - "manipulators": [ - { - "description": "", - "from": { - "key_code": "h", - "modifiers": { - "mandatory": [ - "command" - ] - } - }, - "type": "basic" - } - ] - }, - { - "description": "Quit application by holding command-q", - "manipulators": [ - { - "from": { - "key_code": "q", - "modifiers": { - "mandatory": [ - "command" - ], - "optional": [ - "caps_lock" - ] - } - }, - "to_if_held_down": [ - { - "key_code": "q", - "modifiers": [ - "left_command" - ], - "repeat": false - } - ], - "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" - } - ] - } - ] - }, - "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": [ - { - "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$", - "^com\\.jetbrains\\.intellij$" - ], - "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": "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": [ - { - "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" - } - ] - }, - { - "description": "Disable Cmd+H Hide (rev 2)", - "manipulators": [ - { - "description": "", - "from": { - "key_code": "h", - "modifiers": { - "mandatory": [ - "command" - ] - } - }, - "type": "basic" - } - ] - }, - { - "description": "Use Delete as Move to Trash", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^com.apple.finder" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "delete_forward", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "delete_or_backspace", - "modifiers": [ - "left_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": false, - "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": [ - { - "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 - } - }, - { - "complex_modifications": { - "parameters": { - "basic.simultaneous_threshold_milliseconds": 50, - "basic.to_delayed_action_delay_milliseconds": 0, - "basic.to_if_alone_timeout_milliseconds": 85, - "basic.to_if_held_down_threshold_milliseconds": 500, - "mouse_motion_to_scroll.speed": 100 - }, - "rules": [ - { - "description": "CM Storm keyboard setup", - "manipulators": [ - { - "conditions": [ - { - "identifiers": [ - { - "product_id": 17, - "vendor_id": 9494 - } - ], - "type": "device_if" - } - ], - "from": { - "key_code": "left_command", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_option" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "identifiers": [ - { - "product_id": 17, - "vendor_id": 9494 - } - ], - "type": "device_if" - } - ], - "from": { - "key_code": "left_option", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_command" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "identifiers": [ - { - "product_id": 17, - "vendor_id": 9494 - } - ], - "type": "device_if" - } - ], - "from": { - "key_code": "right_command", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_option" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "identifiers": [ - { - "product_id": 17, - "vendor_id": 9494 - } - ], - "type": "device_if" - } - ], - "from": { - "key_code": "right_option", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_command" - } - ], - "type": "basic" - } - ] - }, - { - "description": "swap cmd <-> option when using specific devices", - "manipulators": [ - { - "conditions": [ - { - "identifiers": [ - { - "product_id": 17, - "vendor_id": 9494 - } - ], - "type": "device_if" - } - ], - "from": { - "key_code": "left_command", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_option" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "identifiers": [ - { - "product_id": 17, - "vendor_id": 9494 - } - ], - "type": "device_if" - } - ], - "from": { - "key_code": "left_option", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_command" - } - ], - "type": "basic" - } - ] - }, - { - "description": "caps lock -> escape(alone) and caps lock -> hyper", - "manipulators": [ - { - "from": { - "key_code": "caps_lock", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_shift", - "modifiers": [ - "left_command", - "left_control", - "left_option" - ] - } - ], - "to_if_alone": [ - { - "key_code": "escape" - } - ], - "type": "basic" - } - ] - }, - { - "description": "Ctrl np -> down up", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^md\\.obsidian", - "^com\\.jetbrains\\.intellij", - "^com\\.electron\\.lark", - "^com\\.tencent\\.xinWeChat", - "^com\\.google\\.Chrome" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "n", - "modifiers": { - "mandatory": [ - "left_control" - ] - } - }, - "to": [ - { - "key_code": "down_arrow" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "bundle_identifiers": [ - "^md\\.obsidian", - "^com\\.jetbrains\\.intellij", - "^com\\.electron\\.lark", - "^com\\.tencent\\.xinWeChat", - "^com\\.google\\.Chrome" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "p", - "modifiers": { - "mandatory": [ - "left_control" - ] - } - }, - "to": [ - { - "key_code": "up_arrow" - } - ], - "type": "basic" - } - ] - }, - { - "description": "F2 as Rename in Finder", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^com\\.apple\\.finder$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "f2", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "return_or_enter" - } - ], - "type": "basic" - } - ] - }, - { - "description": "Disable Cmd+H Hide", - "manipulators": [ - { - "from": { - "key_code": "h", - "modifiers": { - "mandatory": [ - "left_command" - ] - } - }, - "type": "basic" - } - ] - }, - { - "description": "Ctrl W -> Delete last word", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "com\\.apple\\.Terminal", - "com\\.googlecode\\.iterm2" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "w", - "modifiers": { - "mandatory": [ - "left_control" - ] - } - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "bundle_identifiers": [ - "com\\.apple\\.Terminal", - "com\\.googlecode\\.iterm2" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "w", - "modifiers": { - "mandatory": [ - "right_control" - ] - } - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "right_control" - ] - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "bundle_identifiers": [ - "com\\.apple\\.Terminal", - "com\\.googlecode\\.iterm2" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "w", - "modifiers": { - "mandatory": [ - "left_control" - ] - } - }, - "to": [ - { - "key_code": "delete_or_backspace", - "modifiers": [ - "left_control", - "left_option", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "bundle_identifiers": [ - "com\\.apple\\.Terminal", - "com\\.googlecode\\.iterm2" - ], - "type": "frontmost_application_unless" - } - ], - "from": { - "key_code": "w", - "modifiers": { - "mandatory": [ - "right_control" - ] - } - }, - "to": [ - { - "key_code": "delete_or_backspace", - "modifiers": [ - "left_control", - "left_option", - "left_shift" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "Cmd + Q held 1 second to quit", - "manipulators": [ - { - "from": { - "key_code": "q", - "modifiers": { - "mandatory": [ - "left_command" - ] - } - }, - "to_if_held_down": [ - { - "key_code": "q", - "modifiers": [ - "left_command" - ] - } - ], - "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": [ - "left_command" - ], - "optional": [ - "caps_lock" - ] - } - }, - "to": [ - { - "key_code": "q", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "command-q", - "value": 0 - } - } - ], - "type": "basic" - }, - { - "from": { - "key_code": "q", - "modifiers": { - "mandatory": [ - "left_command" - ], - "optional": [ - "caps_lock" - ] - } - }, - "to": [ - { - "set_variable": { - "name": "command-q", - "value": 1 - } - } - ], - "to_delayed_action": { - "to_if_canceled": [ - { - "set_variable": { - "name": "commandq", - "value": 0 - } - } - ], - "to_if_invoked": [ - { - "set_variable": { - "name": "command-q", - "value": 0 - } - } - ] - }, - "type": "basic" - } - ] - }, - { - "description": "Use Delete as Move to Trash", - "manipulators": [ - { - "conditions": [ - { - "bundle_identifiers": [ - "^com\\.apple\\.finder$" - ], - "type": "frontmost_application_if" - } - ], - "from": { - "key_code": "delete_forward", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "delete_or_backspace", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "right_command to f16", - "manipulators": [ - { - "from": { - "key_code": "right_command", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "f16" - } - ], - "type": "basic" - } - ] - }, - { - "description": "colonkey (shift)", - "manipulators": [ - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "1" - }, - "to": [ - { - "key_code": "1", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "1" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "1", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "2" - }, - "to": [ - { - "key_code": "2", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "2" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "2", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "3" - }, - "to": [ - { - "key_code": "3", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "3" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "3", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "4" - }, - "to": [ - { - "key_code": "4", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "4" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "4", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "5" - }, - "to": [ - { - "key_code": "5", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "5" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "5", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "q" - }, - "to": [ - { - "key_code": "q", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "q" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "q", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "w" - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "w" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "e" - }, - "to": [ - { - "key_code": "e", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "e" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "e", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "r" - }, - "to": [ - { - "key_code": "r", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "r" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "r", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "t" - }, - "to": [ - { - "key_code": "t", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "t" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "t", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "y" - }, - "to": [ - { - "key_code": "y", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "y" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "y", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "u" - }, - "to": [ - { - "key_code": "u", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "u" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "u", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "i" - }, - "to": [ - { - "key_code": "i", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "i" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "i", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "o" - }, - "to": [ - { - "key_code": "o", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "o" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "o", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "p" - }, - "to": [ - { - "key_code": "p", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "p" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "p", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "a" - }, - "to": [ - { - "key_code": "a", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "a" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "a", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "s" - }, - "to": [ - { - "key_code": "s", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "s" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "s", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "d" - }, - "to": [ - { - "key_code": "d", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "d" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "d", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "f" - }, - "to": [ - { - "key_code": "f", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "f" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "f", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "g" - }, - "to": [ - { - "key_code": "g", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "g" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "g", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "h" - }, - "to": [ - { - "key_code": "h", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "h" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "h", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "key_code": "j", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "j", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "k" - }, - "to": [ - { - "key_code": "k", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "k", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "l" - }, - "to": [ - { - "key_code": "l", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "l", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "grave_accent_and_tilde" - }, - "to": [ - { - "key_code": "grave_accent_and_tilde", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "grave_accent_and_tilde" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "grave_accent_and_tilde", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "z" - }, - "to": [ - { - "key_code": "z", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "z" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "z", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "x" - }, - "to": [ - { - "key_code": "x", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "x" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "x", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "c" - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "c" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "v" - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "v" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "b" - }, - "to": [ - { - "key_code": "b", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "b" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "b", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "n" - }, - "to": [ - { - "key_code": "n", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "n" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "n", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "semicolon-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "m" - }, - "to": [ - { - "key_code": "m", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "semicolon" - }, - { - "key_code": "m" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "semicolon-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "m", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "semicolon-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "jsim", - "manipulators": [ - { - "from": { - "simultaneous": [ - { - "key_code": "j" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": false, - "key_down_order": "insensitive", - "key_up_order": "insensitive", - "key_up_when": "any" - } - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search google\" in workflow \"net.deanishe.alfred-searchio\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "j" - }, - { - "key_code": "semicolon" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": false, - "key_down_order": "insensitive", - "key_up_order": "insensitive", - "key_up_when": "any" - } - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search tabs\" in workflow \"net.deanishe.alfred.safari\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "j" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": false, - "key_down_order": "insensitive", - "key_up_order": "insensitive", - "key_up_when": "any" - } - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - } - ] - }, - { - "description": "ksim", - "manipulators": [ - { - "from": { - "simultaneous": [ - { - "key_code": "k" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": false, - "key_down_order": "insensitive", - "key_up_order": "insensitive", - "key_up_when": "any" - } - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search dash\" in workflow \"com.kapeli.dash.workflow\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "k" - }, - { - "key_code": "m" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": false, - "key_down_order": "insensitive", - "key_up_order": "insensitive", - "key_up_when": "any" - } - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search youtube\" in workflow \"net.deanishe.alfred-searchio\" with argument \"\"'" - } - ], - "type": "basic" - } - ] - }, - { - "description": "2key (move + alfred)", - "manipulators": [ - { - "conditions": [ - { - "name": "2-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "shell_command": "say '2 j press'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "2" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "2-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "say '2 j press'" - }, - { - "set_variable": { - "name": "2-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "2-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "o" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"soulver\" in workflow \"app.soulver.alfredworkflow\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "2" - }, - { - "key_code": "o" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "2-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"soulver\" in workflow \"app.soulver.alfredworkflow\" with argument \"\"'" - }, - { - "set_variable": { - "name": "2-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "2-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "2" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "2-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "2-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "2-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "k" - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "2" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "2-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "2-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "2-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "l" - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "2" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "2-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "2-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "2-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "h" - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "2" - }, - { - "key_code": "h" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "2-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "2-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "2-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "semicolon" - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": [ - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "2" - }, - { - "key_code": "semicolon" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "2-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "up_arrow", - "modifiers": [ - "left_option" - ] - }, - { - "set_variable": { - "name": "2-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "2-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "quote" - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": [ - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "2" - }, - { - "key_code": "quote" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "2-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "down_arrow", - "modifiers": [ - "left_option" - ] - }, - { - "set_variable": { - "name": "2-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "2-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "spacebar" - }, - "to": [ - { - "key_code": "u", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "2" - }, - { - "key_code": "spacebar" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "2-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "u", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - }, - { - "set_variable": { - "name": "2-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "3key (open files + projects)", - "manipulators": [ - { - "conditions": [ - { - "name": "3-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "r" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"proj: LA\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "3" - }, - { - "key_code": "r" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "3-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"proj: LA\"'" - }, - { - "set_variable": { - "name": "3-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "3-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "i" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: Likes\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "3" - }, - { - "key_code": "i" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "3-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: Likes\"'" - }, - { - "set_variable": { - "name": "3-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "3-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "o" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: Projects\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "3" - }, - { - "key_code": "o" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "3-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: Projects\"'" - }, - { - "set_variable": { - "name": "3-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "3-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "t" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: Git config\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "3" - }, - { - "key_code": "t" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "3-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: Git config\"'" - }, - { - "set_variable": { - "name": "3-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "3-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "h" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"wiki: Used hotkeys\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "3" - }, - { - "key_code": "h" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "3-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"wiki: Used hotkeys\"'" - }, - { - "set_variable": { - "name": "3-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "3-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: Aliases\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "3" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "3-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: Aliases\"'" - }, - { - "set_variable": { - "name": "3-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "3-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "k" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: Zsh functions\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "3" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "3-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: Zsh functions\"'" - }, - { - "set_variable": { - "name": "3-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "3-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "l" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Search current safari url in wiki\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "3" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "3-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Search current safari url in wiki\"'" - }, - { - "set_variable": { - "name": "3-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "3-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "semicolon" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"proj: Knowledge\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "3" - }, - { - "key_code": "semicolon" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "3-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"proj: Knowledge\"'" - }, - { - "set_variable": { - "name": "3-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "3-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "quote" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"wiki: Summary\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "3" - }, - { - "key_code": "quote" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "3-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"wiki: Summary\"'" - }, - { - "set_variable": { - "name": "3-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "3-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "n" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"proj: Dotfiles\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "3" - }, - { - "key_code": "n" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "3-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"proj: Dotfiles\"'" - }, - { - "set_variable": { - "name": "3-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "3-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "m" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"proj: Home\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "3" - }, - { - "key_code": "m" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "3-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"proj: Home\"'" - }, - { - "set_variable": { - "name": "3-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "3-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "comma" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: Now\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "3" - }, - { - "key_code": "comma" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "3-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: Now\"'" - }, - { - "set_variable": { - "name": "3-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "3-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "period" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: GitHub Bio\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "3" - }, - { - "key_code": "period" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "3-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: GitHub Bio\"'" - }, - { - "set_variable": { - "name": "3-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "3-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "spacebar" - }, - "to": [ - { - "key_code": "p", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "3" - }, - { - "key_code": "spacebar" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "3-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "p", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - }, - { - "set_variable": { - "name": "3-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "4key (open curated lists)", - "manipulators": [ - { - "conditions": [ - { - "name": "4-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "r" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: Web Searches\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "4" - }, - { - "key_code": "r" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "4-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: Web Searches\"'" - }, - { - "set_variable": { - "name": "4-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "4-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "t" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"list: Newsletters\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "4" - }, - { - "key_code": "t" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "4-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"list: Newsletters\"'" - }, - { - "set_variable": { - "name": "4-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "4-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "o" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"list: Blogs\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "4" - }, - { - "key_code": "o" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "4-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"list: Blogs\"'" - }, - { - "set_variable": { - "name": "4-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "4-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "p" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"list: Podcasts\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "4" - }, - { - "key_code": "p" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "4-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"list: Podcasts\"'" - }, - { - "set_variable": { - "name": "4-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "4-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "k" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"list: Alfred workflows\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "4" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "4-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"list: Alfred workflows\"'" - }, - { - "set_variable": { - "name": "4-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "4-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "l" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"list: Command line tools\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "4" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "4-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"list: Command line tools\"'" - }, - { - "set_variable": { - "name": "4-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "4-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "n" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"list: Events\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "4" - }, - { - "key_code": "n" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "4-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"list: Events\"'" - }, - { - "set_variable": { - "name": "4-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "tabkey (websites)", - "manipulators": [ - { - "conditions": [ - { - "name": "tab-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Phabricator\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "tab" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "tab-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Phabricator\"'" - }, - { - "set_variable": { - "name": "tab-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "tab-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "k" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: GitLab\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "tab" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "tab-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: GitLab\"'" - }, - { - "set_variable": { - "name": "tab-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "tab-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "l" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: RealTime\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "tab" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "tab-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: RealTime\"'" - }, - { - "set_variable": { - "name": "tab-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "tab-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "period" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: CodeSandbox\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "tab" - }, - { - "key_code": "period" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "tab-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: CodeSandbox\"'" - }, - { - "set_variable": { - "name": "tab-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "qkey (cmd + shift)", - "manipulators": [ - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "3" - }, - "to": [ - { - "key_code": "3", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "3" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "3", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "4" - }, - "to": [ - { - "key_code": "4", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "4" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "4", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "5" - }, - "to": [ - { - "key_code": "5", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "5" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "5", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "6" - }, - "to": [ - { - "key_code": "6", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "6" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "6", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "7" - }, - "to": [ - { - "key_code": "7", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "7" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "7", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "8" - }, - "to": [ - { - "key_code": "8", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "8" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "8", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "9" - }, - "to": [ - { - "key_code": "9", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "9" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "9", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "0" - }, - "to": [ - { - "key_code": "0", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "0" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "0", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "w" - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "w" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "e" - }, - "to": [ - { - "key_code": "e", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "e" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "e", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "r" - }, - "to": [ - { - "key_code": "r", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "r" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "r", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "t" - }, - "to": [ - { - "key_code": "t", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "t" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "t", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "y" - }, - "to": [ - { - "key_code": "y", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "y" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "y", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "u" - }, - "to": [ - { - "key_code": "u", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "u" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "u", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "i" - }, - "to": [ - { - "key_code": "i", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "i" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "i", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "o" - }, - "to": [ - { - "key_code": "o", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "o" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "o", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "p" - }, - "to": [ - { - "key_code": "p", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "p" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "p", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "open_bracket" - }, - "to": [ - { - "key_code": "open_bracket", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "open_bracket" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "open_bracket", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "close_bracket" - }, - "to": [ - { - "key_code": "close_bracket", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "close_bracket" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "close_bracket", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "a" - }, - "to": [ - { - "key_code": "a", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "a" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "a", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "s" - }, - "to": [ - { - "key_code": "s", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "s" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "s", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "d" - }, - "to": [ - { - "key_code": "d", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "d" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "d", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "f" - }, - "to": [ - { - "key_code": "f", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "f" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "f", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "g" - }, - "to": [ - { - "key_code": "g", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "g" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "g", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "h" - }, - "to": [ - { - "key_code": "h", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "h" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "h", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "key_code": "j", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "j", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "k" - }, - "to": [ - { - "key_code": "k", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "k", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "l" - }, - "to": [ - { - "key_code": "l", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "l", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "semicolon" - }, - "to": [ - { - "key_code": "semicolon", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "semicolon" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "semicolon", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "quote" - }, - "to": [ - { - "key_code": "quote", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "quote" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "quote", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "z" - }, - "to": [ - { - "key_code": "z", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "z" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "z", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "x" - }, - "to": [ - { - "key_code": "x", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "x" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "x", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "c" - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "c" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "v" - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "v" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "b" - }, - "to": [ - { - "key_code": "b", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "b" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "b", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "n" - }, - "to": [ - { - "key_code": "n", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "n" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "n", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "m" - }, - "to": [ - { - "key_code": "m", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "m" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "m", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "comma" - }, - "to": [ - { - "key_code": "comma", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "comma" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "comma", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "period" - }, - "to": [ - { - "key_code": "period", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "period" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "period", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "slash" - }, - "to": [ - { - "key_code": "slash", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "slash" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "slash", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "q-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "spacebar" - }, - "to": [ - { - "key_code": "e", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "q" - }, - { - "key_code": "spacebar" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "q-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "e", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - }, - { - "set_variable": { - "name": "q-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "wkey (apps)", - "manipulators": [ - { - "conditions": [ - { - "name": "w-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "e" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Fantastical\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "w" - }, - { - "key_code": "e" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "w-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Fantastical\"'" - }, - { - "set_variable": { - "name": "w-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "w-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "r" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Notion\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "w" - }, - { - "key_code": "r" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "w-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Notion\"'" - }, - { - "set_variable": { - "name": "w-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "w-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "t" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Activity Monitor\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "w" - }, - { - "key_code": "t" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "w-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Activity Monitor\"'" - }, - { - "set_variable": { - "name": "w-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "w-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "i" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Instruments\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "w" - }, - { - "key_code": "i" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "w-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Instruments\"'" - }, - { - "set_variable": { - "name": "w-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "w-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "o" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Keyboard Maestro\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "w" - }, - { - "key_code": "o" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "w-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Keyboard Maestro\"'" - }, - { - "set_variable": { - "name": "w-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "w-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "p" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Postgres\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "w" - }, - { - "key_code": "p" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "w-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Postgres\"'" - }, - { - "set_variable": { - "name": "w-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "w-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "caps_lock" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Finder\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "w" - }, - { - "key_code": "caps_lock" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "w-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Finder\"'" - }, - { - "set_variable": { - "name": "w-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "w-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "a" - }, - "to": [ - { - "key_code": "1", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "w" - }, - { - "key_code": "a" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "w-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "1", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - }, - { - "set_variable": { - "name": "w-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "w-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "d" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Postico\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "w" - }, - { - "key_code": "d" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "w-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Postico\"'" - }, - { - "set_variable": { - "name": "w-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "w-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "f" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: 2Do\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "w" - }, - { - "key_code": "f" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "w-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: 2Do\"'" - }, - { - "set_variable": { - "name": "w-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "w-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: iTerm\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "w" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "w-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: iTerm\"'" - }, - { - "set_variable": { - "name": "w-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "w-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "k" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Safari\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "w" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "w-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Safari\"'" - }, - { - "set_variable": { - "name": "w-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "w-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "l" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: VS Code\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "w" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "w-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: VS Code\"'" - }, - { - "set_variable": { - "name": "w-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "w-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "semicolon" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Xcode\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "w" - }, - { - "key_code": "semicolon" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "w-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Xcode\"'" - }, - { - "set_variable": { - "name": "w-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "w-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "quote" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Console\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "w" - }, - { - "key_code": "quote" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "w-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Console\"'" - }, - { - "set_variable": { - "name": "w-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "w-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "c" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Spotify\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "w" - }, - { - "key_code": "c" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "w-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Spotify\"'" - }, - { - "set_variable": { - "name": "w-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "w-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "v" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Paw\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "w" - }, - { - "key_code": "v" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "w-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Paw\"'" - }, - { - "set_variable": { - "name": "w-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "w-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "b" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: BetterTouchTool\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "w" - }, - { - "key_code": "b" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "w-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: BetterTouchTool\"'" - }, - { - "set_variable": { - "name": "w-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "w-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "n" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Sublime Text\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "w" - }, - { - "key_code": "n" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "w-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Sublime Text\"'" - }, - { - "set_variable": { - "name": "w-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "w-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "m" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Sublime Merge\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "w" - }, - { - "key_code": "m" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "w-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Sublime Merge\"'" - }, - { - "set_variable": { - "name": "w-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "w-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "period" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Cypress\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "w" - }, - { - "key_code": "period" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "w-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Cypress\"'" - }, - { - "set_variable": { - "name": "w-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "w-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "spacebar" - }, - "to": [ - { - "key_code": "7", - "modifiers": [ - "left_command", - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "w" - }, - { - "key_code": "spacebar" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "w-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "7", - "modifiers": [ - "left_command", - "left_control" - ] - }, - { - "set_variable": { - "name": "w-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "ekey (cmd)", - "manipulators": [ - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "q" - }, - "to": [ - { - "key_code": "q", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "q" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "q", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "w" - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "w" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "r" - }, - "to": [ - { - "key_code": "r", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "r" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "r", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "t" - }, - "to": [ - { - "key_code": "t", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "t" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "t", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "u" - }, - "to": [ - { - "key_code": "u", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "u" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "u", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "i" - }, - "to": [ - { - "key_code": "i", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "i" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "i", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "p" - }, - "to": [ - { - "key_code": "p", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "p" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "p", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "open_bracket" - }, - "to": [ - { - "key_code": "open_bracket", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "open_bracket" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "open_bracket", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "close_bracket" - }, - "to": [ - { - "key_code": "close_bracket", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "close_bracket" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "close_bracket", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "semicolon" - }, - "to": [ - { - "key_code": "semicolon", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "semicolon" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "semicolon", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "quote" - }, - "to": [ - { - "key_code": "quote", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "quote" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "quote", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "comma" - }, - "to": [ - { - "key_code": "comma", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "comma" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "comma", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "period" - }, - "to": [ - { - "key_code": "period", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "period" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "period", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "slash" - }, - "to": [ - { - "key_code": "slash", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "slash" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "slash", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "a" - }, - "to": [ - { - "key_code": "a", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "a" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "a", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "b" - }, - "to": [ - { - "key_code": "b", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "b" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "b", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "c" - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "c" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "d" - }, - "to": [ - { - "key_code": "d", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "d" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "d", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "f" - }, - "to": [ - { - "key_code": "f", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "f" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "f", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "g" - }, - "to": [ - { - "key_code": "g", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "g" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "g", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "h" - }, - "to": [ - { - "key_code": "h", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "h" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "h", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "key_code": "j", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "j", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "k" - }, - "to": [ - { - "key_code": "k", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "k", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "l" - }, - "to": [ - { - "key_code": "l", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "l", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "m" - }, - "to": [ - { - "key_code": "m", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "m" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "m", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "n" - }, - "to": [ - { - "key_code": "n", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "n" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "n", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "o" - }, - "to": [ - { - "key_code": "o", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "o" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "o", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "s" - }, - "to": [ - { - "key_code": "s", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "s" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "s", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "v" - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "v" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "x" - }, - "to": [ - { - "key_code": "x", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "x" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "x", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "y" - }, - "to": [ - { - "key_code": "y", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "y" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "y", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "z" - }, - "to": [ - { - "key_code": "z", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "z" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "z", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "1" - }, - "to": [ - { - "key_code": "1", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "1" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "1", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "2" - }, - "to": [ - { - "key_code": "2", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "2" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "2", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "3" - }, - "to": [ - { - "key_code": "3", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "3" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "3", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "4" - }, - "to": [ - { - "key_code": "4", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "4" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "4", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "5" - }, - "to": [ - { - "key_code": "5", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "5" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "5", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "6" - }, - "to": [ - { - "key_code": "6", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "6" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "6", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "7" - }, - "to": [ - { - "key_code": "7", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "7" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "7", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "8" - }, - "to": [ - { - "key_code": "8", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "8" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "8", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "9" - }, - "to": [ - { - "key_code": "9", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "9" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "9", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "0" - }, - "to": [ - { - "key_code": "0", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "0" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "0", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "e-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "spacebar" - }, - "to": [ - { - "key_code": "7", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "e" - }, - { - "key_code": "spacebar" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "e-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "7", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - }, - { - "set_variable": { - "name": "e-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "rkey (apps)", - "manipulators": [ - { - "conditions": [ - { - "name": "r-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "tab" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Transmission\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "r" - }, - { - "key_code": "tab" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "r-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Transmission\"'" - }, - { - "set_variable": { - "name": "r-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "r-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "q" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: IINA\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "r" - }, - { - "key_code": "q" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "r-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: IINA\"'" - }, - { - "set_variable": { - "name": "r-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "r-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "w" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: 1Password\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "r" - }, - { - "key_code": "w" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "r-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: 1Password\"'" - }, - { - "set_variable": { - "name": "r-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "r-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "e" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Keynote\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "r" - }, - { - "key_code": "e" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "r-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Keynote\"'" - }, - { - "set_variable": { - "name": "r-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "r-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "i" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Feedback Assistant\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "r" - }, - { - "key_code": "i" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "r-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Feedback Assistant\"'" - }, - { - "set_variable": { - "name": "r-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "r-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "o" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Developer\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "r" - }, - { - "key_code": "o" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "r-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Developer\"'" - }, - { - "set_variable": { - "name": "r-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "r-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "a" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Alfred Preferences\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "r" - }, - { - "key_code": "a" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "r-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Alfred Preferences\"'" - }, - { - "set_variable": { - "name": "r-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "r-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Dictionary\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "r" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "r-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Dictionary\"'" - }, - { - "set_variable": { - "name": "r-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "r-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "k" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Preview\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "r" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "r-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Preview\"'" - }, - { - "set_variable": { - "name": "r-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "r-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "l" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Books\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "r" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "r-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Books\"'" - }, - { - "set_variable": { - "name": "r-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "r-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "b" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Edit keyboard shortcuts\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "r" - }, - { - "key_code": "b" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "r-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Edit keyboard shortcuts\"'" - }, - { - "set_variable": { - "name": "r-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "r-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "n" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: ScreenFlow\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "r" - }, - { - "key_code": "n" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "r-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: ScreenFlow\"'" - }, - { - "set_variable": { - "name": "r-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "r-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "m" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: OBS\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "r" - }, - { - "key_code": "m" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "r-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: OBS\"'" - }, - { - "set_variable": { - "name": "r-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "r-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "comma" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Arq\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "r" - }, - { - "key_code": "comma" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "r-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Arq\"'" - }, - { - "set_variable": { - "name": "r-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "r-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "period" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Final Cut Pro\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "r" - }, - { - "key_code": "period" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "r-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Final Cut Pro\"'" - }, - { - "set_variable": { - "name": "r-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "r-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "spacebar" - }, - "to": [ - { - "key_code": "x", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "r" - }, - { - "key_code": "spacebar" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "r-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "x", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - }, - { - "set_variable": { - "name": "r-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "tkey (palettes + websites)", - "manipulators": [ - { - "conditions": [ - { - "name": "t-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "0" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: regex101\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "t" - }, - { - "key_code": "0" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "t-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: regex101\"'" - }, - { - "set_variable": { - "name": "t-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "t-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "e" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Facebook\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "t" - }, - { - "key_code": "e" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "t-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Facebook\"'" - }, - { - "set_variable": { - "name": "t-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "t-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "r" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Repl\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "t" - }, - { - "key_code": "r" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "t-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Repl\"'" - }, - { - "set_variable": { - "name": "t-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "t-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "u" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Medium\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "t" - }, - { - "key_code": "u" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "t-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Medium\"'" - }, - { - "set_variable": { - "name": "t-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "t-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "i" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Arxiv\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "t" - }, - { - "key_code": "i" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "t-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Arxiv\"'" - }, - { - "set_variable": { - "name": "t-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "t-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "o" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Stack Overflow\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "t" - }, - { - "key_code": "o" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "t-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Stack Overflow\"'" - }, - { - "set_variable": { - "name": "t-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "t-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "p" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Dropbox\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "t" - }, - { - "key_code": "p" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "t-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Dropbox\"'" - }, - { - "set_variable": { - "name": "t-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "t-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "a" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Amazon\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "t" - }, - { - "key_code": "a" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "t-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Amazon\"'" - }, - { - "set_variable": { - "name": "t-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "t-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "h" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Twitch\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "t" - }, - { - "key_code": "h" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "t-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Twitch\"'" - }, - { - "set_variable": { - "name": "t-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "t-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "key_code": "o", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "t" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "t-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "o", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - }, - { - "set_variable": { - "name": "t-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "t-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "semicolon" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Netlify\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "t" - }, - { - "key_code": "semicolon" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "t-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Netlify\"'" - }, - { - "set_variable": { - "name": "t-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "t-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "z" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: MDN\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "t" - }, - { - "key_code": "z" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "t-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: MDN\"'" - }, - { - "set_variable": { - "name": "t-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "t-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "b" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Observable\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "t" - }, - { - "key_code": "b" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "t-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Observable\"'" - }, - { - "set_variable": { - "name": "t-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "t-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "m" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Meetup\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "t" - }, - { - "key_code": "m" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "t-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Meetup\"'" - }, - { - "set_variable": { - "name": "t-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "t-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "comma" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Google Drive\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "t" - }, - { - "key_code": "comma" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "t-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Google Drive\"'" - }, - { - "set_variable": { - "name": "t-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "t-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "period" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: IFTTT\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "t" - }, - { - "key_code": "period" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "t-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: IFTTT\"'" - }, - { - "set_variable": { - "name": "t-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "t-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "spacebar" - }, - "to": [ - { - "key_code": "r", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "t" - }, - { - "key_code": "spacebar" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "t-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "r", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - }, - { - "set_variable": { - "name": "t-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "ikey (symbols)", - "manipulators": [ - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "1" - }, - "to": [ - { - "key_code": "1", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "1" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "1", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "2" - }, - "to": [ - { - "key_code": "2", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "2" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "2", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "3" - }, - "to": [ - { - "key_code": "equal_sign", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "3" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "equal_sign", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "4" - }, - "to": [ - { - "key_code": "8", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "4" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "8", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "5" - }, - "to": [ - { - "key_code": "5", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "5" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "5", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "q" - }, - "to": [ - { - "key_code": "open_bracket", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "q" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "open_bracket", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "w" - }, - "to": [ - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "w" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "e" - }, - "to": [ - { - "key_code": "3", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "e" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "3", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "r" - }, - "to": [ - { - "key_code": "quote", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "r" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "quote", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "t" - }, - "to": [ - { - "key_code": "quote" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "t" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "quote" - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "o" - }, - "to": [ - { - "key_code": "open_bracket" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "o" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "open_bracket" - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "p" - }, - "to": [ - { - "key_code": "close_bracket" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "p" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "close_bracket" - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "open_bracket" - }, - "to": [ - { - "key_code": "close_bracket", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "open_bracket" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "close_bracket", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "caps_lock" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Match symbols\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "caps_lock" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Match symbols\"'" - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "a" - }, - "to": [ - { - "key_code": "slash" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "a" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "slash" - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "s" - }, - "to": [ - { - "key_code": "hyphen", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "s" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "hyphen", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "d" - }, - "to": [ - { - "key_code": "backslash" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "d" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "backslash" - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "f" - }, - "to": [ - { - "key_code": "hyphen" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "f" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "hyphen" - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "g" - }, - "to": [ - { - "key_code": "4", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "g" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "4", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "key_code": "equal_sign" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "equal_sign" - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "l" - }, - "to": [ - { - "key_code": "hyphen" - }, - { - "key_code": "period", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "spacebar" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "hyphen" - }, - { - "key_code": "period", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "spacebar" - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "semicolon" - }, - "to": [ - { - "key_code": "semicolon" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "semicolon" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "semicolon" - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "grave_accent_and_tilde" - }, - "to": [ - { - "key_code": "grave_accent_and_tilde", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "grave_accent_and_tilde" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "grave_accent_and_tilde", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "z" - }, - "to": [ - { - "key_code": "slash", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "z" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "slash", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "x" - }, - "to": [ - { - "key_code": "backslash", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "x" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "backslash", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "c" - }, - "to": [ - { - "key_code": "7", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "c" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "7", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "v" - }, - "to": [ - { - "key_code": "comma", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "v" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "comma", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "i-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "b" - }, - "to": [ - { - "key_code": "slash" - }, - { - "key_code": "slash" - }, - { - "key_code": "spacebar" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "i" - }, - { - "key_code": "b" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "i-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "slash" - }, - { - "key_code": "slash" - }, - { - "key_code": "spacebar" - }, - { - "set_variable": { - "name": "i-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "okey (alfred)", - "manipulators": [ - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "1" - }, - "to": [ - { - "key_code": "1", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "1" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "1", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "2" - }, - "to": [ - { - "key_code": "2", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "2" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "2", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "3" - }, - "to": [ - { - "key_code": "3", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "3" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "3", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "4" - }, - "to": [ - { - "key_code": "4", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "4" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "4", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "5" - }, - "to": [ - { - "key_code": "5", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "5" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "5", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "6" - }, - "to": [ - { - "key_code": "6", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "6" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "6", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "q" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search downloads\" in workflow \"recentdownloads.ddjfreedom\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "q" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search downloads\" in workflow \"recentdownloads.ddjfreedom\" with argument \"\"'" - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "w" - }, - "to": [ - { - "key_code": "backslash", - "modifiers": [ - "left_command", - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "w" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "backslash", - "modifiers": [ - "left_command", - "left_option" - ] - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "e" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Make 2Do task\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "e" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Make 2Do task\"'" - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "r" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Make 2Do task with note as current URL\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "r" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Make 2Do task with note as current URL\"'" - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "t" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Make 2Do task with Safari title as name + note as current URL\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "t" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Make 2Do task with Safari title as name + note as current URL\"'" - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "i" - }, - "to": [ - { - "shell_command": "open \"/Applications/iTerm.app\"" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "i" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "open \"/Applications/iTerm.app\"" - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "caps_lock" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search desktop\" in workflow \"com.vitorgalvao.alfred.directories\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "caps_lock" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search desktop\" in workflow \"com.vitorgalvao.alfred.directories\" with argument \"\"'" - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "a" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search files\" in workflow \"nikivi.manage.notes\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "a" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search files\" in workflow \"nikivi.manage.notes\" with argument \"\"'" - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "b" - }, - "to": [ - { - "shell_command": "open \"/Applications/Obsidian.app\"" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "b" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "open \"/Applications/Obsidian.app\"" - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "w" - }, - "to": [ - { - "shell_command": "open \"/Applications/Lark.app\"" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "w" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "open \"/Applications/Lark.app\"" - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "s" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search code\" in workflow \"nikivi.manage.notes\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "s" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search code\" in workflow \"nikivi.manage.notes\" with argument \"\"'" - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "d" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search repos\" in workflow \"net.deanishe.alfred-git-repos\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "d" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search repos\" in workflow \"net.deanishe.alfred-git-repos\" with argument \"\"'" - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "f" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search folders\" in workflow \"nikivi.search.folders\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "f" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search folders\" in workflow \"nikivi.search.folders\" with argument \"\"'" - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "g" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"2Do with current url as note (github)\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "g" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"2Do with current url as note (github)\"'" - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"run\" in workflow \"iansinnott.keyboardmaestro\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"run\" in workflow \"iansinnott.keyboardmaestro\" with argument \"\"'" - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "k" - }, - "to": [ - { - "shell_command": "open \"/Applications/kitty.app\"" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "open \"/Applications/kitty.app\"" - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "grave_accent_and_tilde" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search processes\" in workflow \"com.vitorgalvao.alfred.processcontrol\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "grave_accent_and_tilde" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search processes\" in workflow \"com.vitorgalvao.alfred.processcontrol\" with argument \"\"'" - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "x" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search workflows\" in workflow \"org.jeef.workflowdirectory\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "x" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search workflows\" in workflow \"org.jeef.workflowdirectory\" with argument \"\"'" - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "c" - }, - "to": [ - { - "shell_command": "open \"/Applications/Google Chrome.app\"" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "c" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "open \"/Applications/Google Chrome.app\"" - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "v" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search clones\" in workflow \"com.vitorgalvao.alfred.directories\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "v" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search clones\" in workflow \"com.vitorgalvao.alfred.directories\" with argument \"\"'" - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "n" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search lists\" in workflow \"nikivi.learn.anything\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "n" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search lists\" in workflow \"nikivi.learn.anything\" with argument \"\"'" - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "m" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search lists\" in workflow \"nikivi.awesome.lists\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "m" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search lists\" in workflow \"nikivi.awesome.lists\" with argument \"\"'" - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "o-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "spacebar" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search PDFs\" in workflow \"nikivi.search.files\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "o" - }, - { - "key_code": "spacebar" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "o-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search PDFs\" in workflow \"nikivi.search.files\" with argument \"\"'" - }, - { - "set_variable": { - "name": "o-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "capskey (todo + trello)", - "manipulators": [ - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "0" - }, - "to": [ - { - "key_code": "down_arrow" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "0" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "down_arrow" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "1" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"Screenshot -> Imgur\" in workflow \"com.vitorgalvao.alfred.webscreenshot\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "1" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"Screenshot -> Imgur\" in workflow \"com.vitorgalvao.alfred.webscreenshot\" with argument \"\"'" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "2" - }, - "to": [ - { - "key_code": "2", - "modifiers": [ - "left_control", - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "2" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "2", - "modifiers": [ - "left_control", - "left_option" - ] - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "3" - }, - "to": [ - { - "key_code": "3", - "modifiers": [ - "left_control", - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "3" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "3", - "modifiers": [ - "left_control", - "left_option" - ] - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "4" - }, - "to": [ - { - "key_code": "9", - "modifiers": [ - "left_control", - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "4" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "9", - "modifiers": [ - "left_control", - "left_option" - ] - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "5" - }, - "to": [ - { - "key_code": "0", - "modifiers": [ - "left_control", - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "5" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "0", - "modifiers": [ - "left_control", - "left_option" - ] - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "w" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"wiki: My workflow\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "w" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"wiki: My workflow\"'" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "e" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: Private notes\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "e" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: Private notes\"'" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "r" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"wiki: Rules\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "r" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"wiki: Rules\"'" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "t" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"wiki: Processes\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "t" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"wiki: Processes\"'" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "u" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do Buy\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "u" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do Buy\"'" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "i" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do Fix\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "i" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do Fix\"'" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "o" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do Tools\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "o" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do Tools\"'" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "p" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do Repeat\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "p" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do Repeat\"'" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "open_bracket" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Goodreads (currently reading)\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "open_bracket" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Goodreads (currently reading)\"'" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "close_bracket" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Goodreads (next)\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "close_bracket" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Goodreads (next)\"'" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "s" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do Wiki\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "s" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do Wiki\"'" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "d" - }, - "to": [ - { - "shell_command": "open \"notion://nikitavoloboev/Ideas-0b5a4e8a88f34fe29a1f33dad02e5332\"" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "d" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "open \"notion://nikitavoloboev/Ideas-0b5a4e8a88f34fe29a1f33dad02e5332\"" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "f" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Search 2Do\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "f" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Search 2Do\"'" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "g" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do Life\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "g" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do Life\"'" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "h" - }, - "to": [ - { - "shell_command": "open \"notion://nikitavoloboev/Learn-05c0eac7be904e0da89cd8a3bf7ab509\"" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "h" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "open \"notion://nikitavoloboev/Learn-05c0eac7be904e0da89cd8a3bf7ab509\"" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do Today\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do Today\"'" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "k" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do GitHub\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do GitHub\"'" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "l" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do Later\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do Later\"'" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "semicolon" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do Starred\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "semicolon" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do Starred\"'" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "quote" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do Other\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "quote" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do Other\"'" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "c" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Look back\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "c" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Look back\"'" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "v" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"wiki: Goals\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "v" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"wiki: Goals\"'" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "b" - }, - "to": [ - { - "shell_command": "open \"notion://nikitavoloboev/Papers-Courses-8f00c7c500d5460490a5800c5d5db431\"" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "b" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "open \"notion://nikitavoloboev/Papers-Courses-8f00c7c500d5460490a5800c5d5db431\"" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "n" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do Clean\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "n" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do Clean\"'" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "m" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do Work\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "m" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do Work\"'" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "caps-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "period" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do LA\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "caps_lock" - }, - { - "key_code": "period" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "caps-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open 2Do LA\"'" - }, - { - "set_variable": { - "name": "caps-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "akey (ctrl)", - "manipulators": [ - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "2" - }, - "to": [ - { - "key_code": "2", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "2" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "2", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "3" - }, - "to": [ - { - "key_code": "3", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "3" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "3", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "4" - }, - "to": [ - { - "key_code": "4", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "4" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "4", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "5" - }, - "to": [ - { - "key_code": "5", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "5" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "5", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "6" - }, - "to": [ - { - "key_code": "6", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "6" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "6", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "7" - }, - "to": [ - { - "key_code": "7", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "7" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "7", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "8" - }, - "to": [ - { - "key_code": "8", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "8" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "8", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "9" - }, - "to": [ - { - "key_code": "9", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "9" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "9", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "0" - }, - "to": [ - { - "key_code": "0", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "0" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "0", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "q" - }, - "to": [ - { - "key_code": "q", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "q" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "q", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "w" - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "w" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "e" - }, - "to": [ - { - "key_code": "e", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "e" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "e", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "r" - }, - "to": [ - { - "key_code": "r", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "r" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "r", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "t" - }, - "to": [ - { - "key_code": "t", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "t" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "t", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "i" - }, - "to": [ - { - "key_code": "i", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "i" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "i", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "o" - }, - "to": [ - { - "key_code": "o", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "o" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "o", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "y" - }, - "to": [ - { - "key_code": "y", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "y" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "y", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "u" - }, - "to": [ - { - "key_code": "u", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "u" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "u", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "p" - }, - "to": [ - { - "key_code": "p", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "p" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "p", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "open_bracket" - }, - "to": [ - { - "key_code": "open_bracket", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "open_bracket" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "open_bracket", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "close_bracket" - }, - "to": [ - { - "key_code": "close_bracket", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "close_bracket" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "close_bracket", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "s" - }, - "to": [ - { - "key_code": "s", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "s" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "s", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "d" - }, - "to": [ - { - "key_code": "d", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "d" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "d", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "f" - }, - "to": [ - { - "key_code": "f", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "f" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "f", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "g" - }, - "to": [ - { - "key_code": "g", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "g" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "g", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "h" - }, - "to": [ - { - "key_code": "h", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "h" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "h", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "key_code": "j", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "j", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "k" - }, - "to": [ - { - "key_code": "k", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "k", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "l" - }, - "to": [ - { - "key_code": "l", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "l", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "semicolon" - }, - "to": [ - { - "key_code": "semicolon", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "semicolon" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "semicolon", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "quote" - }, - "to": [ - { - "key_code": "quote", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "quote" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "quote", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "z" - }, - "to": [ - { - "key_code": "z", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "z" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "z", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "x" - }, - "to": [ - { - "key_code": "x", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "x" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "x", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "c" - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "c" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "v" - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "v" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "b" - }, - "to": [ - { - "key_code": "b", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "b" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "b", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "n" - }, - "to": [ - { - "key_code": "n", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "n" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "n", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "m" - }, - "to": [ - { - "key_code": "m", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "m" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "m", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "comma" - }, - "to": [ - { - "key_code": "comma", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "comma" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "comma", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "period" - }, - "to": [ - { - "key_code": "period", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "period" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "period", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "slash" - }, - "to": [ - { - "key_code": "slash", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "slash" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "slash", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "a-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "spacebar" - }, - "to": [ - { - "key_code": "9", - "modifiers": [ - "left_command", - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "a" - }, - { - "key_code": "spacebar" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "a-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "9", - "modifiers": [ - "left_command", - "left_control" - ] - }, - { - "set_variable": { - "name": "a-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "skey (essential)", - "manipulators": [ - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "w" - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "left_option" - ] - }, - { - "key_code": "right_arrow", - "modifiers": [ - "left_option", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "w" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "left_option" - ] - }, - { - "key_code": "right_arrow", - "modifiers": [ - "left_option", - "left_shift" - ] - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "e" - }, - "to": [ - { - "key_code": "tab" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "e" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "tab" - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "r" - }, - "to": [ - { - "key_code": "tab", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "r" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "tab", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "t" - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "t" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "u" - }, - "to": [ - { - "key_code": "p", - "modifiers": [ - "left_command", - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "u" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "p", - "modifiers": [ - "left_command", - "left_option" - ] - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "i" - }, - "to": [ - { - "key_code": "period", - "modifiers": [ - "left_command", - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "i" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "period", - "modifiers": [ - "left_command", - "left_control" - ] - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "o" - }, - "to": [ - { - "key_code": "x", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "o" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "x", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "open_bracket" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Lowercase selected text\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "open_bracket" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Lowercase selected text\"'" - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "close_bracket" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Uppercase selected text\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "close_bracket" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Uppercase selected text\"'" - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "a" - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "a" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "d" - }, - "to": [ - { - "key_code": "delete_or_backspace" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "d" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "delete_or_backspace" - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "f" - }, - "to": [ - { - "key_code": "return_or_enter" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "f" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "return_or_enter" - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "g" - }, - "to": [ - { - "key_code": "tab", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "g" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "tab", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "h", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "h" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "left_arrow" - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "down_arrow" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "down_arrow" - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "k", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "up_arrow" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "up_arrow" - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "l", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "right_arrow" - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "semicolon" - }, - "to": [ - { - "key_code": "0", - "modifiers": [ - "left_command", - "left_control", - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "semicolon" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "0", - "modifiers": [ - "left_command", - "left_control", - "left_option" - ] - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "quote" - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "left_command" - ] - }, - { - "key_code": "right_arrow", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "quote" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "left_command" - ] - }, - { - "key_code": "right_arrow", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "c" - }, - "to": [ - { - "key_code": "delete_or_backspace", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "c" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "delete_or_backspace", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "v" - }, - "to": [ - { - "key_code": "left_shift" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "v" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "left_shift" - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "b", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "b" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "left_arrow", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "n" - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "n" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "m", - "modifiers": { - "optional": [ - "any" - ] - } - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "m" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "right_arrow", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "s-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "period" - }, - "to": [ - { - "key_code": "0", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "s" - }, - { - "key_code": "period" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "s-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "0", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - }, - { - "set_variable": { - "name": "s-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "dkey (mouse)", - "manipulators": [ - { - "conditions": [ - { - "name": "d-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "i" - }, - "to": [ - { - "key_code": "keypad_hyphen", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "d" - }, - { - "key_code": "i" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "d-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "keypad_hyphen", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "d-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "d-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "o" - }, - "to": [ - { - "key_code": "keypad_plus", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "d" - }, - { - "key_code": "o" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "d-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "keypad_plus", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "d-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "d-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "a" - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "left_command" - ] - }, - { - "key_code": "tab", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "d" - }, - { - "key_code": "a" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "d-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "left_command" - ] - }, - { - "key_code": "tab", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "d-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "d-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "mouse_key": { - "vertical_wheel": 60 - } - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "d" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "d-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "mouse_key": { - "vertical_wheel": 60 - } - }, - { - "set_variable": { - "name": "d-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "d-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "k" - }, - "to": [ - { - "mouse_key": { - "vertical_wheel": -60 - } - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "d" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "d-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "mouse_key": { - "vertical_wheel": -60 - } - }, - { - "set_variable": { - "name": "d-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "d-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "l" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Google clipboard\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "d" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "d-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Google clipboard\"'" - }, - { - "set_variable": { - "name": "d-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "d-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "semicolon" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Google Searchio selected word\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "d" - }, - { - "key_code": "semicolon" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "d-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Google Searchio selected word\"'" - }, - { - "set_variable": { - "name": "d-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "d-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "quote" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Select line and google\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "d" - }, - { - "key_code": "quote" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "d-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Select line and google\"'" - }, - { - "set_variable": { - "name": "d-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "d-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "z" - }, - "to": [ - { - "pointing_button": "button2" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "d" - }, - { - "key_code": "z" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "d-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "pointing_button": "button2" - }, - { - "set_variable": { - "name": "d-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "d-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "v" - }, - "to": [ - { - "pointing_button": "button1" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "d" - }, - { - "key_code": "v" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "d-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "pointing_button": "button1" - }, - { - "set_variable": { - "name": "d-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "d-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "b" - }, - "to": [ - { - "pointing_button": "button3" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "d" - }, - { - "key_code": "b" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "d-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "pointing_button": "button3" - }, - { - "set_variable": { - "name": "d-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "d-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "n" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open URL in clipboard in Safari\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "d" - }, - { - "key_code": "n" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "d-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Open URL in clipboard in Safari\"'" - }, - { - "set_variable": { - "name": "d-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "d-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "m" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Google Lucky selected word\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "d" - }, - { - "key_code": "m" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "d-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Google Lucky selected word\"'" - }, - { - "set_variable": { - "name": "d-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "d-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "comma" - }, - "to": [ - { - "key_code": "8", - "modifiers": [ - "left_control", - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "d" - }, - { - "key_code": "comma" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "d-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "8", - "modifiers": [ - "left_control", - "left_option" - ] - }, - { - "set_variable": { - "name": "d-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "d-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "period" - }, - "to": [ - { - "key_code": "3", - "modifiers": [ - "left_command", - "left_control", - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "d" - }, - { - "key_code": "period" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "d-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "3", - "modifiers": [ - "left_command", - "left_control", - "left_option" - ] - }, - { - "set_variable": { - "name": "d-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "d-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "spacebar" - }, - "to": [ - { - "key_code": "8", - "modifiers": [ - "left_command", - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "d" - }, - { - "key_code": "spacebar" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "d-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "8", - "modifiers": [ - "left_command", - "left_control" - ] - }, - { - "set_variable": { - "name": "d-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "fkey (essential)", - "manipulators": [ - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "1" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"View Sip\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "1" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"View Sip\"'" - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "2" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Go to test macro\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "2" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Go to test macro\"'" - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "3" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"New global macro\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "3" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"New global macro\"'" - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "tab" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Test\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "tab" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Test\"'" - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "q" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Chrome Canary\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "q" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Chrome Canary\"'" - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "w" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Save clipboard link\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "w" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Save clipboard link\"'" - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "e" - }, - "to": [ - { - "key_code": "8", - "modifiers": [ - "left_command", - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "e" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "8", - "modifiers": [ - "left_command", - "left_option" - ] - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "r" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Centre mouse to active app\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "r" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Centre mouse to active app\"'" - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "i" - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "i" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "left_control" - ] - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "o" - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "o" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "left_option" - ] - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "p" - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "left_command", - "left_control", - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "p" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "left_command", - "left_control", - "left_option" - ] - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "open_bracket" - }, - "to": [ - { - "key_code": "5", - "modifiers": [ - "left_command", - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "open_bracket" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "5", - "modifiers": [ - "left_command", - "left_control" - ] - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "caps_lock" - }, - "to": [ - { - "key_code": "u", - "modifiers": [ - "left_command", - "left_control", - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "caps_lock" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "u", - "modifiers": [ - "left_command", - "left_control", - "left_option" - ] - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "a" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Figma\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "a" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Figma\"'" - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "s" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: 2nd iTerm tab\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "s" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: 2nd iTerm tab\"'" - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "d" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Save clipboard link (top)\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "d" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Save clipboard link (top)\"'" - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "h" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Make markdown link from selection {link}\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "h" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Make markdown link from selection {link}\"'" - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: 1st iTerm tab\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: 1st iTerm tab\"'" - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "k" - }, - "to": [ - { - "key_code": "return_or_enter" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "return_or_enter" - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "l" - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "semicolon" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: Karabiner\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "semicolon" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: Karabiner\"'" - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "quote" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Goku Run\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "quote" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Goku Run\"'" - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "z" - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": [ - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "z" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "spacebar", - "modifiers": [ - "left_option" - ] - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "n" - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "fn" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "n" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "fn" - ] - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "m" - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "m" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "return_or_enter", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "comma" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Add safari link to selected markdown text\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "comma" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Add safari link to selected markdown text\"'" - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "period" - }, - "to": [ - { - "key_code": "4", - "modifiers": [ - "left_command", - "left_control", - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "period" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "4", - "modifiers": [ - "left_command", - "left_control", - "left_option" - ] - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "f-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "spacebar" - }, - "to": [ - { - "key_code": "q", - "modifiers": [ - "left_command", - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "f" - }, - { - "key_code": "spacebar" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "f-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "q", - "modifiers": [ - "left_command", - "left_control" - ] - }, - { - "set_variable": { - "name": "f-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "gkey (actions)", - "manipulators": [ - { - "conditions": [ - { - "name": "g-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "q" - }, - "to": [ - { - "key_code": "3", - "modifiers": [ - "left_command", - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "g" - }, - { - "key_code": "q" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "g-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "3", - "modifiers": [ - "left_command", - "left_control" - ] - }, - { - "set_variable": { - "name": "g-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "g-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "w" - }, - "to": [ - { - "key_code": "grave_accent_and_tilde", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "g" - }, - { - "key_code": "w" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "g-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "grave_accent_and_tilde", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "g-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "g-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "caps_lock" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Go to KM group of current app from picklist\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "g" - }, - { - "key_code": "caps_lock" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "g-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Go to KM group of current app from picklist\"'" - }, - { - "set_variable": { - "name": "g-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "g-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "a" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Go to KM group of current app\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "g" - }, - { - "key_code": "a" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "g-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Go to KM group of current app\"'" - }, - { - "set_variable": { - "name": "g-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "g-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "s" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Dismiss notifications\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "g" - }, - { - "key_code": "s" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "g-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Dismiss notifications\"'" - }, - { - "set_variable": { - "name": "g-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "g-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "h" - }, - "to": [ - { - "key_code": "a", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "g" - }, - { - "key_code": "h" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "g-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "a", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - }, - { - "set_variable": { - "name": "g-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "g-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "key_code": "grave_accent_and_tilde", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "g" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "g-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "grave_accent_and_tilde", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "g-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "g-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "k" - }, - "to": [ - { - "key_code": "f", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "g" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "g-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "f", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - }, - { - "set_variable": { - "name": "g-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "g-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "l" - }, - "to": [ - { - "key_code": "d", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "g" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "g-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "d", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - }, - { - "set_variable": { - "name": "g-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "g-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "semicolon" - }, - "to": [ - { - "key_code": "s", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "g" - }, - { - "key_code": "semicolon" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "g-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "s", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - }, - { - "set_variable": { - "name": "g-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "g-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "z" - }, - "to": [ - { - "key_code": "0", - "modifiers": [ - "left_command", - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "g" - }, - { - "key_code": "z" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "g-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "0", - "modifiers": [ - "left_command", - "left_option" - ] - }, - { - "set_variable": { - "name": "g-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "g-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "n" - }, - "to": [ - { - "key_code": "g", - "modifiers": [ - "left_command", - "left_control", - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "g" - }, - { - "key_code": "n" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "g-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "g", - "modifiers": [ - "left_command", - "left_control", - "left_option" - ] - }, - { - "set_variable": { - "name": "g-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "g-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "m" - }, - "to": [ - { - "key_code": "slash", - "modifiers": [ - "left_command", - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "g" - }, - { - "key_code": "m" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "g-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "slash", - "modifiers": [ - "left_command", - "left_option" - ] - }, - { - "set_variable": { - "name": "g-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "g-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "period" - }, - "to": [ - { - "key_code": "6", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "g" - }, - { - "key_code": "period" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "g-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "6", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - }, - { - "set_variable": { - "name": "g-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "tilkey (actions + language switches)", - "manipulators": [ - { - "conditions": [ - { - "name": "tilde-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "w" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"toggle wifi\" in workflow \"nikivi.wifi.tools\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "grave_accent_and_tilde" - }, - { - "key_code": "w" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "tilde-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"toggle wifi\" in workflow \"nikivi.wifi.tools\" with argument \"\"'" - }, - { - "set_variable": { - "name": "tilde-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "tilde-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "e" - }, - "to": [ - { - "key_code": "k", - "modifiers": [ - "left_command", - "left_control" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "grave_accent_and_tilde" - }, - { - "key_code": "e" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "tilde-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "k", - "modifiers": [ - "left_command", - "left_control" - ] - }, - { - "set_variable": { - "name": "tilde-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "tilde-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "r" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"restart wifi\" in workflow \"nikivi.wifi.tools\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "grave_accent_and_tilde" - }, - { - "key_code": "r" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "tilde-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"restart wifi\" in workflow \"nikivi.wifi.tools\" with argument \"\"'" - }, - { - "set_variable": { - "name": "tilde-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "tilde-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "d" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Commit dotfiles\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "grave_accent_and_tilde" - }, - { - "key_code": "d" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "tilde-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Commit dotfiles\"'" - }, - { - "set_variable": { - "name": "tilde-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "tilde-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "f" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Commit learning\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "grave_accent_and_tilde" - }, - { - "key_code": "f" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "tilde-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Commit learning\"'" - }, - { - "set_variable": { - "name": "tilde-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "tilde-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "h" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Commit home\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "grave_accent_and_tilde" - }, - { - "key_code": "h" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "tilde-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Commit home\"'" - }, - { - "set_variable": { - "name": "tilde-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "tilde-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "shell_command": "open \"dash://.js:\"" - }, - { - "set_variable": { - "name": "in-python", - "value": 0 - } - }, - { - "set_variable": { - "name": "in-go", - "value": 0 - } - }, - { - "set_variable": { - "name": "in-js", - "value": 1 - } - }, - { - "set_variable": { - "name": "in-elixir", - "value": 0 - } - }, - { - "set_variable": { - "name": "in-rust", - "value": 0 - } - }, - { - "set_variable": { - "name": "in-swift", - "value": 0 - } - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "grave_accent_and_tilde" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "tilde-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "open \"dash://.js:\"" - }, - { - "set_variable": { - "name": "in-python", - "value": 0 - } - }, - { - "set_variable": { - "name": "in-go", - "value": 0 - } - }, - { - "set_variable": { - "name": "in-js", - "value": 1 - } - }, - { - "set_variable": { - "name": "in-elixir", - "value": 0 - } - }, - { - "set_variable": { - "name": "in-rust", - "value": 0 - } - }, - { - "set_variable": { - "name": "in-swift", - "value": 0 - } - }, - { - "set_variable": { - "name": "tilde-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "tilde-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "k" - }, - "to": [ - { - "shell_command": "open \"dash://.go:\"" - }, - { - "set_variable": { - "name": "in-python", - "value": 0 - } - }, - { - "set_variable": { - "name": "in-go", - "value": 1 - } - }, - { - "set_variable": { - "name": "in-js", - "value": 0 - } - }, - { - "set_variable": { - "name": "in-elixir", - "value": 0 - } - }, - { - "set_variable": { - "name": "in-rust", - "value": 0 - } - }, - { - "set_variable": { - "name": "in-swift", - "value": 0 - } - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "grave_accent_and_tilde" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "tilde-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "open \"dash://.go:\"" - }, - { - "set_variable": { - "name": "in-python", - "value": 0 - } - }, - { - "set_variable": { - "name": "in-go", - "value": 1 - } - }, - { - "set_variable": { - "name": "in-js", - "value": 0 - } - }, - { - "set_variable": { - "name": "in-elixir", - "value": 0 - } - }, - { - "set_variable": { - "name": "in-rust", - "value": 0 - } - }, - { - "set_variable": { - "name": "in-swift", - "value": 0 - } - }, - { - "set_variable": { - "name": "tilde-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "tilde-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "l" - }, - "to": [ - { - "shell_command": "open \"dash://.python:\"" - }, - { - "set_variable": { - "name": "in-python", - "value": 1 - } - }, - { - "set_variable": { - "name": "in-go", - "value": 0 - } - }, - { - "set_variable": { - "name": "in-js", - "value": 0 - } - }, - { - "set_variable": { - "name": "in-elixir", - "value": 0 - } - }, - { - "set_variable": { - "name": "in-rust", - "value": 0 - } - }, - { - "set_variable": { - "name": "in-swift", - "value": 0 - } - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "grave_accent_and_tilde" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "tilde-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "open \"dash://.python:\"" - }, - { - "set_variable": { - "name": "in-python", - "value": 1 - } - }, - { - "set_variable": { - "name": "in-go", - "value": 0 - } - }, - { - "set_variable": { - "name": "in-js", - "value": 0 - } - }, - { - "set_variable": { - "name": "in-elixir", - "value": 0 - } - }, - { - "set_variable": { - "name": "in-rust", - "value": 0 - } - }, - { - "set_variable": { - "name": "in-swift", - "value": 0 - } - }, - { - "set_variable": { - "name": "tilde-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "tilde-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "c" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Commit code\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "grave_accent_and_tilde" - }, - { - "key_code": "c" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "tilde-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Commit code\"'" - }, - { - "set_variable": { - "name": "tilde-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "tilde-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "v" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Commit wiki\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "grave_accent_and_tilde" - }, - { - "key_code": "v" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "tilde-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Commit wiki\"'" - }, - { - "set_variable": { - "name": "tilde-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "tilde-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "spacebar" - }, - "to": [ - { - "key_code": "n", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "grave_accent_and_tilde" - }, - { - "key_code": "spacebar" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "tilde-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "n", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - }, - { - "set_variable": { - "name": "tilde-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "zkey (chat)", - "manipulators": [ - { - "conditions": [ - { - "name": "z-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "e" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Telegram\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "z" - }, - { - "key_code": "e" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "z-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Telegram\"'" - }, - { - "set_variable": { - "name": "z-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "z-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "i" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: WhatsApp\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "z" - }, - { - "key_code": "i" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "z-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: WhatsApp\"'" - }, - { - "set_variable": { - "name": "z-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "z-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "o" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Zoom\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "z" - }, - { - "key_code": "o" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "z-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Zoom\"'" - }, - { - "set_variable": { - "name": "z-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "z-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "p" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: FaceTime\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "z" - }, - { - "key_code": "p" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "z-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: FaceTime\"'" - }, - { - "set_variable": { - "name": "z-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "z-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "d" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"New Spark email\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "z" - }, - { - "key_code": "d" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "z-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"New Spark email\"'" - }, - { - "set_variable": { - "name": "z-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "z-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "f" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Spark\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "z" - }, - { - "key_code": "f" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "z-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Spark\"'" - }, - { - "set_variable": { - "name": "z-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "z-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "g" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search contacts\" in workflow \"nikivi.search.content\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "z" - }, - { - "key_code": "g" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "z-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search contacts\" in workflow \"nikivi.search.content\" with argument \"\"'" - }, - { - "set_variable": { - "name": "z-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "z-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "h" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Create new contact\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "z" - }, - { - "key_code": "h" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "z-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Create new contact\"'" - }, - { - "set_variable": { - "name": "z-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "z-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Element\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "z" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "z-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Element\"'" - }, - { - "set_variable": { - "name": "z-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "z-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "k" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Telegram\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "z" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "z-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Telegram\"'" - }, - { - "set_variable": { - "name": "z-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "z-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "l" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Discord\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "z" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "z-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Discord\"'" - }, - { - "set_variable": { - "name": "z-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "z-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "semicolon" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Slack\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "z" - }, - { - "key_code": "semicolon" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "z-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Slack\"'" - }, - { - "set_variable": { - "name": "z-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "z-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "c" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Contacts\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "z" - }, - { - "key_code": "c" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "z-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Contacts\"'" - }, - { - "set_variable": { - "name": "z-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "z-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "v" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Tweetbot\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "z" - }, - { - "key_code": "v" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "z-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Tweetbot\"'" - }, - { - "set_variable": { - "name": "z-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "z-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "b" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Twitter\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "z" - }, - { - "key_code": "b" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "z-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Twitter\"'" - }, - { - "set_variable": { - "name": "z-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "z-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "n" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"New tweet\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "z" - }, - { - "key_code": "n" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "z-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"New tweet\"'" - }, - { - "set_variable": { - "name": "z-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "z-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "m" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"New tweet with current URL\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "z" - }, - { - "key_code": "m" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "z-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"New tweet with current URL\"'" - }, - { - "set_variable": { - "name": "z-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "z-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "comma" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Twitter Search\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "z" - }, - { - "key_code": "comma" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "z-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Twitter Search\"'" - }, - { - "set_variable": { - "name": "z-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "z-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "period" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Textual\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "z" - }, - { - "key_code": "period" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "z-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: Textual\"'" - }, - { - "set_variable": { - "name": "z-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "z-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "slash" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Search Tweetbot\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "z" - }, - { - "key_code": "slash" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "z-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Search Tweetbot\"'" - }, - { - "set_variable": { - "name": "z-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "z-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "spacebar" - }, - "to": [ - { - "key_code": "z", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "z" - }, - { - "key_code": "spacebar" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "z-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "z", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - }, - { - "set_variable": { - "name": "z-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "xkey (spotify)", - "manipulators": [ - { - "conditions": [ - { - "name": "x-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "o" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Paste current Spotify song link\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "x" - }, - { - "key_code": "o" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "x-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Paste current Spotify song link\"'" - }, - { - "set_variable": { - "name": "x-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "x-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "open_bracket" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"twitter_search_current_track\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "x" - }, - { - "key_code": "open_bracket" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "x-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"twitter_search_current_track\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - }, - { - "set_variable": { - "name": "x-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "x-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "close_bracket" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"add_current_track_to\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"spotify:playlist:2N82DnDsPGMnpJhN8sVFJu\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "x" - }, - { - "key_code": "close_bracket" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "x-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"add_current_track_to\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"spotify:playlist:2N82DnDsPGMnpJhN8sVFJu\"'" - }, - { - "set_variable": { - "name": "x-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "x-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"show_alfred_playlist\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "x" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "x-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"show_alfred_playlist\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - }, - { - "set_variable": { - "name": "x-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "x-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "k" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"show_current_track\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "x" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "x-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"show_current_track\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - }, - { - "set_variable": { - "name": "x-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "x-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "semicolon" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"add_current_track_to_alfred_playlist_or_your_music\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "x" - }, - { - "key_code": "semicolon" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "x-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"add_current_track_to_alfred_playlist_or_your_music\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - }, - { - "set_variable": { - "name": "x-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "x-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "quote" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"add_current_track_to\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"spotify:playlist:0ESjwZeTcHOWzY3FYO5zs5\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "x" - }, - { - "key_code": "quote" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "x-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"add_current_track_to\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"spotify:playlist:0ESjwZeTcHOWzY3FYO5zs5\"'" - }, - { - "set_variable": { - "name": "x-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "x-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "n" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"add_current_track_to\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "x" - }, - { - "key_code": "n" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "x-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"add_current_track_to\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - }, - { - "set_variable": { - "name": "x-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "x-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "m" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"remove_current_track_from\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "x" - }, - { - "key_code": "m" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "x-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"remove_current_track_from\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - }, - { - "set_variable": { - "name": "x-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "x-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "comma" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"show_search_online\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "x" - }, - { - "key_code": "comma" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "x-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"show_search_online\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - }, - { - "set_variable": { - "name": "x-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "x-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "period" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"youtube_search_current_track\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "x" - }, - { - "key_code": "period" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "x-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"youtube_search_current_track\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - }, - { - "set_variable": { - "name": "x-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "x-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "slash" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"reddit_search_current_track\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "x" - }, - { - "key_code": "slash" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "x-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"reddit_search_current_track\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - }, - { - "set_variable": { - "name": "x-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "ckey (run + dots)", - "manipulators": [ - { - "conditions": [ - { - "name": "c-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "tab" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"proj: Learning\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "c" - }, - { - "key_code": "tab" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "c-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"proj: Learning\"'" - }, - { - "set_variable": { - "name": "c-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "c-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "u" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"run: Rust\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "c" - }, - { - "key_code": "u" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "c-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"run: Rust\"'" - }, - { - "set_variable": { - "name": "c-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "c-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "i" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"run: Julia\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "c" - }, - { - "key_code": "i" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "c-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"run: Julia\"'" - }, - { - "set_variable": { - "name": "c-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "c-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "o" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"run: Deno\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "c" - }, - { - "key_code": "o" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "c-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"run: Deno\"'" - }, - { - "set_variable": { - "name": "c-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "c-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "a" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Clone repo to ~/clones and open with VS Code\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "c" - }, - { - "key_code": "a" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "c-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Clone repo to ~/clones and open with VS Code\"'" - }, - { - "set_variable": { - "name": "c-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "c-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "s" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Clone repo to ~/clones\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "c" - }, - { - "key_code": "s" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "c-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Clone repo to ~/clones\"'" - }, - { - "set_variable": { - "name": "c-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "c-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"run: Bash\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "c" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "c-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"run: Bash\"'" - }, - { - "set_variable": { - "name": "c-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "c-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "k" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"run: Go\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "c" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "c-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"run: Go\"'" - }, - { - "set_variable": { - "name": "c-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "c-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "l" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"run: Python\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "c" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "c-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"run: Python\"'" - }, - { - "set_variable": { - "name": "c-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "c-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "semicolon" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search learning\" in workflow \"nikivi.private.directories\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "c" - }, - { - "key_code": "semicolon" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "c-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search learning\" in workflow \"nikivi.private.directories\" with argument \"\"'" - }, - { - "set_variable": { - "name": "c-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "c-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "quote" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"proj: Go\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "c" - }, - { - "key_code": "quote" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "c-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"proj: Go\"'" - }, - { - "set_variable": { - "name": "c-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "c-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "n" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"run: Node\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "c" - }, - { - "key_code": "n" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "c-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"run: Node\"'" - }, - { - "set_variable": { - "name": "c-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "c-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "m" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"run: Swift\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "c" - }, - { - "key_code": "m" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "c-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"run: Swift\"'" - }, - { - "set_variable": { - "name": "c-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "c-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "period" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: Dotfiles Magefile\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "c" - }, - { - "key_code": "period" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "c-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"edit: Dotfiles Magefile\"'" - }, - { - "set_variable": { - "name": "c-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "c-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "spacebar" - }, - "to": [ - { - "key_code": "y", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "c" - }, - { - "key_code": "spacebar" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "c-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "y", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - }, - { - "set_variable": { - "name": "c-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "vkey (media)", - "manipulators": [ - { - "conditions": [ - { - "name": "v-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "q" - }, - "to": [ - { - "key_code": "illumination_decrement" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "v" - }, - { - "key_code": "q" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "v-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "illumination_decrement" - }, - { - "set_variable": { - "name": "v-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "v-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "w" - }, - "to": [ - { - "key_code": "illumination_increment" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "v" - }, - { - "key_code": "w" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "v-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "illumination_increment" - }, - { - "set_variable": { - "name": "v-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "v-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "e" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Change macOS appearance (dark/light)\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "v" - }, - { - "key_code": "e" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "v-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Change macOS appearance (dark/light)\"'" - }, - { - "set_variable": { - "name": "v-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "v-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "i" - }, - "to": [ - { - "consumer_key_code": "display_brightness_decrement" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "v" - }, - { - "key_code": "i" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "v-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "consumer_key_code": "display_brightness_decrement" - }, - { - "set_variable": { - "name": "v-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "v-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "o" - }, - "to": [ - { - "consumer_key_code": "display_brightness_increment" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "v" - }, - { - "key_code": "o" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "v-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "consumer_key_code": "display_brightness_increment" - }, - { - "set_variable": { - "name": "v-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "v-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "p" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"play\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"spotify:playlist:37i9dQZEVXcMHpP6EcIqNe\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "v" - }, - { - "key_code": "p" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "v-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"play\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"spotify:playlist:37i9dQZEVXcMHpP6EcIqNe\"'" - }, - { - "set_variable": { - "name": "v-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "v-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "open_bracket" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"play\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"spotify:playlist:0ERn0U4qZIKC8Dy7RrMMsn\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "v" - }, - { - "key_code": "open_bracket" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "v-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"play\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"spotify:playlist:0ERn0U4qZIKC8Dy7RrMMsn\"'" - }, - { - "set_variable": { - "name": "v-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "v-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "close_bracket" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"play\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"spotify:playlist:2N82DnDsPGMnpJhN8sVFJu\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "v" - }, - { - "key_code": "close_bracket" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "v-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"play\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"spotify:playlist:2N82DnDsPGMnpJhN8sVFJu\"'" - }, - { - "set_variable": { - "name": "v-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "v-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "s" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Play/pause Spotify\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "v" - }, - { - "key_code": "s" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "v-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Play/pause Spotify\"'" - }, - { - "set_variable": { - "name": "v-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "v-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "d" - }, - "to": [ - { - "key_code": "9", - "modifiers": [ - "left_command", - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "v" - }, - { - "key_code": "d" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "v-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "9", - "modifiers": [ - "left_command", - "left_option" - ] - }, - { - "set_variable": { - "name": "v-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "v-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "h" - }, - "to": [ - { - "key_code": "vk_consumer_previous" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "v" - }, - { - "key_code": "h" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "v-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "vk_consumer_previous" - }, - { - "set_variable": { - "name": "v-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "v-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "consumer_key_code": "mute" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "v" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "v-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "consumer_key_code": "mute" - }, - { - "set_variable": { - "name": "v-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "v-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "k" - }, - "to": [ - { - "key_code": "vk_consumer_play" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "v" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "v-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "vk_consumer_play" - }, - { - "set_variable": { - "name": "v-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "v-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "l" - }, - "to": [ - { - "key_code": "vk_consumer_next" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "v" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "v-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "vk_consumer_next" - }, - { - "set_variable": { - "name": "v-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "v-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "semicolon" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"spot_mini\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "v" - }, - { - "key_code": "semicolon" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "v-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"spot_mini\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - }, - { - "set_variable": { - "name": "v-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "v-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "grave_accent_and_tilde" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"artist_radio\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "v" - }, - { - "key_code": "grave_accent_and_tilde" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "v-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"artist_radio\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - }, - { - "set_variable": { - "name": "v-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "v-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "z" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"song_radio\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "v" - }, - { - "key_code": "z" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "v-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"song_radio\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - }, - { - "set_variable": { - "name": "v-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "v-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "b" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"show_playlists\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "v" - }, - { - "key_code": "b" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "v-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"show_playlists\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"\"'" - }, - { - "set_variable": { - "name": "v-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "v-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "n" - }, - "to": [ - { - "consumer_key_code": "volume_decrement" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "v" - }, - { - "key_code": "n" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "v-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "consumer_key_code": "volume_decrement" - }, - { - "set_variable": { - "name": "v-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "v-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "m" - }, - "to": [ - { - "consumer_key_code": "volume_increment" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "v" - }, - { - "key_code": "m" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "v-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "consumer_key_code": "volume_increment" - }, - { - "set_variable": { - "name": "v-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "v-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "comma" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"play\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"spotify:playlist:0ESjwZeTcHOWzY3FYO5zs5\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "v" - }, - { - "key_code": "comma" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "v-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"play\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"spotify:playlist:0ESjwZeTcHOWzY3FYO5zs5\"'" - }, - { - "set_variable": { - "name": "v-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "v-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "period" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"play\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"spotify:playlist:5QOChSDsvLTtBwXmIn8Pss\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "v" - }, - { - "key_code": "period" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "v-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"play\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"spotify:playlist:5QOChSDsvLTtBwXmIn8Pss\"'" - }, - { - "set_variable": { - "name": "v-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "v-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "slash" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"play\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"spotify:playlist:5fIL0WiQ79QtgsP4Y4L20V\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "v" - }, - { - "key_code": "slash" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "v-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"play\" in workflow \"com.vdesabou.spotify.mini.player\" with argument \"spotify:playlist:5fIL0WiQ79QtgsP4Y4L20V\"'" - }, - { - "set_variable": { - "name": "v-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "v-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "spacebar" - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "v" - }, - { - "key_code": "spacebar" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "v-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "v", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - }, - { - "set_variable": { - "name": "v-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "bkey (break)", - "manipulators": [ - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "9" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search hn\" in workflow \"com.vitorgalvao.alfred.hackerboard\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "9" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search hn\" in workflow \"com.vitorgalvao.alfred.hackerboard\" with argument \"\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "0" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: HN (show new)\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "0" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: HN (show new)\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "q" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: KM forum\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "q" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: KM forum\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "w" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Swift forum\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "w" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Swift forum\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "e" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Behance\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "e" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Behance\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "r" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Medium (network)\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "r" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Medium (network)\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "t" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Medium (bookmarks)\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "t" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Medium (bookmarks)\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "u" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Product Hunt\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "u" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Product Hunt\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "i" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Dribble\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "i" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Dribble\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "o" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Pinboard\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "o" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Pinboard\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "p" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Indie Hackers\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "p" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Indie Hackers\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "open_bracket" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Reddit Saved\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "open_bracket" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Reddit Saved\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "close_bracket" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Twitter Bookmarks\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "close_bracket" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Twitter Bookmarks\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "a" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: HN\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "a" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: HN\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "s" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Lobsters\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "s" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Lobsters\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "d" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Reddit\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "d" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Reddit\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "f" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Reddit (all)\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "f" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Reddit (all)\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "g" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Alfred Forum\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "g" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Alfred Forum\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "h" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Product Hunt (new)\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "h" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Product Hunt (new)\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Reddit (new)\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Reddit (new)\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "k" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: GitHub (front page)\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: GitHub (front page)\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "l" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Lobsters (new)\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Lobsters (new)\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "semicolon" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: HN (new)\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "semicolon" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: HN (new)\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "quote" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: HckrNews\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "quote" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: HckrNews\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "z" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: HN (comments)\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "z" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: HN (comments)\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "x" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Lobsters (comments)\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "x" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Lobsters (comments)\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "n" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Inoreader\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "n" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Inoreader\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "m" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Mastodon\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "m" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Mastodon\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "comma" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: GitHub (trending)\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "comma" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: GitHub (trending)\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "period" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: YouTube (subs)\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "period" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: YouTube (subs)\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "slash" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: GitHub (explore)\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "slash" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: GitHub (explore)\"'" - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "b-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "spacebar" - }, - "to": [ - { - "key_code": "s", - "modifiers": [ - "left_control", - "left_option", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "b" - }, - { - "key_code": "spacebar" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "b-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "s", - "modifiers": [ - "left_control", - "left_option", - "left_shift" - ] - }, - { - "set_variable": { - "name": "b-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "nkey (alfred)", - "manipulators": [ - { - "conditions": [ - { - "name": "n-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "1" - }, - "to": [ - { - "key_code": "1", - "modifiers": [ - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "n" - }, - { - "key_code": "1" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "n-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "1", - "modifiers": [ - "left_option" - ] - }, - { - "set_variable": { - "name": "n-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "n-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "2" - }, - "to": [ - { - "key_code": "2", - "modifiers": [ - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "n" - }, - { - "key_code": "2" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "n-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "2", - "modifiers": [ - "left_option" - ] - }, - { - "set_variable": { - "name": "n-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "n-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "3" - }, - "to": [ - { - "key_code": "3", - "modifiers": [ - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "n" - }, - { - "key_code": "3" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "n-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "3", - "modifiers": [ - "left_option" - ] - }, - { - "set_variable": { - "name": "n-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "n-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "4" - }, - "to": [ - { - "key_code": "4", - "modifiers": [ - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "n" - }, - { - "key_code": "4" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "n-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "4", - "modifiers": [ - "left_option" - ] - }, - { - "set_variable": { - "name": "n-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "n-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "5" - }, - "to": [ - { - "key_code": "5", - "modifiers": [ - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "n" - }, - { - "key_code": "5" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "n-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "5", - "modifiers": [ - "left_option" - ] - }, - { - "set_variable": { - "name": "n-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "n-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "6" - }, - "to": [ - { - "key_code": "6", - "modifiers": [ - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "n" - }, - { - "key_code": "6" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "n-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "6", - "modifiers": [ - "left_option" - ] - }, - { - "set_variable": { - "name": "n-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "n-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "q" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search github\" in workflow \"nikivi.search.the.web\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "n" - }, - { - "key_code": "q" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "n-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search github\" in workflow \"nikivi.search.the.web\" with argument \"\"'" - }, - { - "set_variable": { - "name": "n-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "n-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "w" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search twitter\" in workflow \"nikivi.search.the.web\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "n" - }, - { - "key_code": "w" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "n-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search twitter\" in workflow \"nikivi.search.the.web\" with argument \"\"'" - }, - { - "set_variable": { - "name": "n-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "n-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "e" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search subs\" in workflow \"net.deanishe.alfred-reddit\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "n" - }, - { - "key_code": "e" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "n-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search subs\" in workflow \"net.deanishe.alfred-reddit\" with argument \"\"'" - }, - { - "set_variable": { - "name": "n-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "n-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "r" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search reddit\" in workflow \"nikivi.search.the.web\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "n" - }, - { - "key_code": "r" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "n-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search reddit\" in workflow \"nikivi.search.the.web\" with argument \"\"'" - }, - { - "set_variable": { - "name": "n-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "n-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "t" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"ssh\" in workflow \"net.deanishe.alfred-ssh\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "n" - }, - { - "key_code": "t" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "n-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"ssh\" in workflow \"net.deanishe.alfred-ssh\" with argument \"\"'" - }, - { - "set_variable": { - "name": "n-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "n-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "a" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search shares\" in workflow \"nikivi.ask.create.share\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "n" - }, - { - "key_code": "a" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "n-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search shares\" in workflow \"nikivi.ask.create.share\" with argument \"\"'" - }, - { - "set_variable": { - "name": "n-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "n-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "s" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search websites\" in workflow \"nikivi.web.searches\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "n" - }, - { - "key_code": "s" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "n-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search websites\" in workflow \"nikivi.web.searches\" with argument \"\"'" - }, - { - "set_variable": { - "name": "n-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "n-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "d" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search stack overflow\" in workflow \"net.deanishe.alfred-stackoverflow\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "n" - }, - { - "key_code": "d" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "n-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search stack overflow\" in workflow \"net.deanishe.alfred-stackoverflow\" with argument \"\"'" - }, - { - "set_variable": { - "name": "n-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "n-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "f" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search repos\" in workflow \"me.lachlan.githubjump\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "n" - }, - { - "key_code": "f" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "n-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search repos\" in workflow \"me.lachlan.githubjump\" with argument \"\"'" - }, - { - "set_variable": { - "name": "n-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "n-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "g" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search godoc\" in workflow \"nikivi.search.the.web\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "n" - }, - { - "key_code": "g" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "n-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search godoc\" in workflow \"nikivi.search.the.web\" with argument \"\"'" - }, - { - "set_variable": { - "name": "n-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "n-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "h" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search hn\" in workflow \"nikivi.search.the.web\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "n" - }, - { - "key_code": "h" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "n-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search hn\" in workflow \"nikivi.search.the.web\" with argument \"\"'" - }, - { - "set_variable": { - "name": "n-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "n-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "grave_accent_and_tilde" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search learn anything\" in workflow \"nikivi.learn.anything\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "n" - }, - { - "key_code": "grave_accent_and_tilde" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "n-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search learn anything\" in workflow \"nikivi.learn.anything\" with argument \"\"'" - }, - { - "set_variable": { - "name": "n-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "n-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "z" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search lobsters\" in workflow \"nikivi.search.the.web\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "n" - }, - { - "key_code": "z" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "n-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search lobsters\" in workflow \"nikivi.search.the.web\" with argument \"\"'" - }, - { - "set_variable": { - "name": "n-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "n-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "x" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search stack\" in workflow \"net.deanishe.alfred-stackoverflow\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "n" - }, - { - "key_code": "x" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "n-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search stack\" in workflow \"net.deanishe.alfred-stackoverflow\" with argument \"\"'" - }, - { - "set_variable": { - "name": "n-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "n-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "c" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search wiki\" in workflow \"nikivi.mind\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "n" - }, - { - "key_code": "c" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "n-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search wiki\" in workflow \"nikivi.mind\" with argument \"\"'" - }, - { - "set_variable": { - "name": "n-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "n-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "v" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search links\" in workflow \"nikivi.mind\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "n" - }, - { - "key_code": "v" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "n-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search links\" in workflow \"nikivi.mind\" with argument \"\"'" - }, - { - "set_variable": { - "name": "n-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "n-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "b" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search bookmarks\" in workflow \"net.deanishe.alfred.safari\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "n" - }, - { - "key_code": "b" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "n-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search bookmarks\" in workflow \"net.deanishe.alfred.safari\" with argument \"\"'" - }, - { - "set_variable": { - "name": "n-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "n-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "spacebar" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search history\" in workflow \"net.deanishe.alfred.safari\" with argument \"\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "n" - }, - { - "key_code": "spacebar" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "n-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search history\" in workflow \"net.deanishe.alfred.safari\" with argument \"\"'" - }, - { - "set_variable": { - "name": "n-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "mkey (dash)", - "manipulators": [ - { - "conditions": [ - { - "name": "m-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "3" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"d3 \"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "m" - }, - { - "key_code": "3" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "m-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"d3 \"'" - }, - { - "set_variable": { - "name": "m-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "m-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "q" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"tldr \"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "m" - }, - { - "key_code": "q" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "m-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"tldr \"'" - }, - { - "set_variable": { - "name": "m-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "m-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "w" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"django \"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "m" - }, - { - "key_code": "w" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "m-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"django \"'" - }, - { - "set_variable": { - "name": "m-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "m-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "e" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"html \"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "m" - }, - { - "key_code": "e" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "m-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"html \"'" - }, - { - "set_variable": { - "name": "m-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "m-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "r" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"react \"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "m" - }, - { - "key_code": "r" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "m-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"react \"'" - }, - { - "set_variable": { - "name": "m-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "m-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "t" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"ts \"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "m" - }, - { - "key_code": "t" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "m-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"ts \"'" - }, - { - "set_variable": { - "name": "m-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "m-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "a" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"man \"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "m" - }, - { - "key_code": "a" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "m-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"man \"'" - }, - { - "set_variable": { - "name": "m-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "m-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "d" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"docker \"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "m" - }, - { - "key_code": "d" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "m-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"docker \"'" - }, - { - "set_variable": { - "name": "m-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "m-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "f" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"apple \"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "m" - }, - { - "key_code": "f" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "m-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"apple \"'" - }, - { - "set_variable": { - "name": "m-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "m-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "s" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"lodash \"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "m" - }, - { - "key_code": "s" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "m-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"lodash \"'" - }, - { - "set_variable": { - "name": "m-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "m-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "d" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"node \"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "m" - }, - { - "key_code": "d" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "m-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"node \"'" - }, - { - "set_variable": { - "name": "m-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "m-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "g" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"godoc \"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "m" - }, - { - "key_code": "g" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "m-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"godoc \"'" - }, - { - "set_variable": { - "name": "m-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "m-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "c" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"css \"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "m" - }, - { - "key_code": "c" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "m-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"css \"'" - }, - { - "set_variable": { - "name": "m-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "m-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "v" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"vim \"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "m" - }, - { - "key_code": "v" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "m-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"vim \"'" - }, - { - "set_variable": { - "name": "m-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "m-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "b" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"bash \"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "m" - }, - { - "key_code": "b" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "m-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search alfred\" in workflow \"nikivi.utilities\" with argument \"bash \"'" - }, - { - "set_variable": { - "name": "m-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "commakey (words)", - "manipulators": [ - { - "conditions": [ - { - "name": "comma-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "w" - }, - "to": [ - { - "key_code": "n" - }, - { - "key_code": "i" - }, - { - "key_code": "k" - }, - { - "key_code": "i" - }, - { - "key_code": "v" - }, - { - "key_code": "i" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "comma" - }, - { - "key_code": "w" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "comma-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "n" - }, - { - "key_code": "i" - }, - { - "key_code": "k" - }, - { - "key_code": "i" - }, - { - "key_code": "v" - }, - { - "key_code": "i" - }, - { - "set_variable": { - "name": "comma-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "comma-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "a" - }, - "to": [ - { - "key_code": "n" - }, - { - "key_code": "i" - }, - { - "key_code": "k" - }, - { - "key_code": "i" - }, - { - "key_code": "t" - }, - { - "key_code": "a" - }, - { - "key_code": "v" - }, - { - "key_code": "o" - }, - { - "key_code": "l" - }, - { - "key_code": "o" - }, - { - "key_code": "b" - }, - { - "key_code": "o" - }, - { - "key_code": "e" - }, - { - "key_code": "v" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "comma" - }, - { - "key_code": "a" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "comma-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "n" - }, - { - "key_code": "i" - }, - { - "key_code": "k" - }, - { - "key_code": "i" - }, - { - "key_code": "t" - }, - { - "key_code": "a" - }, - { - "key_code": "v" - }, - { - "key_code": "o" - }, - { - "key_code": "l" - }, - { - "key_code": "o" - }, - { - "key_code": "b" - }, - { - "key_code": "o" - }, - { - "key_code": "e" - }, - { - "key_code": "v" - }, - { - "set_variable": { - "name": "comma-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "dotkey (1-3, q-u, caps, tab)", - "manipulators": [ - { - "conditions": [ - { - "name": "dot-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "1" - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "l" - }, - { - "key_code": "o" - }, - { - "key_code": "s" - }, - { - "key_code": "e" - }, - { - "key_code": "spacebar" - }, - { - "key_code": "3", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "1" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "dot-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "c", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "l" - }, - { - "key_code": "o" - }, - { - "key_code": "s" - }, - { - "key_code": "e" - }, - { - "key_code": "spacebar" - }, - { - "key_code": "3", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "dot-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "dot-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "2" - }, - "to": [ - { - "key_code": "r", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "e" - }, - { - "key_code": "f" - }, - { - "key_code": "spacebar" - }, - { - "key_code": "3", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "2" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "dot-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "r", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "e" - }, - { - "key_code": "f" - }, - { - "key_code": "spacebar" - }, - { - "key_code": "3", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "dot-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "dot-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "3" - }, - "to": [ - { - "key_code": "f", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "i" - }, - { - "key_code": "x" - }, - { - "key_code": "spacebar" - }, - { - "key_code": "3", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "3" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "dot-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "f", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "i" - }, - { - "key_code": "x" - }, - { - "key_code": "spacebar" - }, - { - "key_code": "3", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "dot-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "dot-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "q" - }, - "to": [ - { - "key_code": "a", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "spacebar" - }, - { - "key_code": "slash" - }, - { - "key_code": "slash" - }, - { - "key_code": "spacebar" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "q" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "dot-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "a", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "spacebar" - }, - { - "key_code": "slash" - }, - { - "key_code": "slash" - }, - { - "key_code": "spacebar" - }, - { - "set_variable": { - "name": "dot-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "dot-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "w" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"VSCode/XCode/Sublime comment on top of line\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "w" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "dot-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"VSCode/XCode/Sublime comment on top of line\"'" - }, - { - "set_variable": { - "name": "dot-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "dot-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "e" - }, - "to": [ - { - "key_code": "t", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "o", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "d", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "o", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "semicolon", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "spacebar" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "e" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "dot-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "t", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "o", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "d", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "o", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "semicolon", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "spacebar" - }, - { - "set_variable": { - "name": "dot-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "dot-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "r" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"VSCode/XCode/Sublime comment on top of line with TODO\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "r" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "dot-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"VSCode/XCode/Sublime comment on top of line with TODO\"'" - }, - { - "set_variable": { - "name": "dot-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "dot-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "t" - }, - "to": [ - { - "key_code": "n", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "o", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "t", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "e", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "semicolon", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "spacebar" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "t" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "dot-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "n", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "o", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "t", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "e", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "semicolon", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "spacebar" - }, - { - "set_variable": { - "name": "dot-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "dot-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "y" - }, - "to": [ - { - "key_code": "p" - }, - { - "key_code": "l" - }, - { - "key_code": "e" - }, - { - "key_code": "a" - }, - { - "key_code": "s" - }, - { - "key_code": "e" - }, - { - "key_code": "spacebar" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "y" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "dot-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "p" - }, - { - "key_code": "l" - }, - { - "key_code": "e" - }, - { - "key_code": "a" - }, - { - "key_code": "s" - }, - { - "key_code": "e" - }, - { - "key_code": "spacebar" - }, - { - "set_variable": { - "name": "dot-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "dot-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "u" - }, - "to": [ - { - "key_code": "u" - }, - { - "key_code": "p" - }, - { - "key_code": "d" - }, - { - "key_code": "a" - }, - { - "key_code": "t" - }, - { - "key_code": "e" - }, - { - "key_code": "spacebar" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "u" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "dot-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "u" - }, - { - "key_code": "p" - }, - { - "key_code": "d" - }, - { - "key_code": "a" - }, - { - "key_code": "t" - }, - { - "key_code": "e" - }, - { - "key_code": "spacebar" - }, - { - "set_variable": { - "name": "dot-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "dot-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "caps_lock" - }, - "to": [ - { - "key_code": "f", - "modifiers": [ - "left_command" - ] - }, - { - "key_code": "t", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "o", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "d", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "o", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "semicolon", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "return_or_enter" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "caps_lock" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "dot-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "f", - "modifiers": [ - "left_command" - ] - }, - { - "key_code": "t", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "o", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "d", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "o", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "semicolon", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "return_or_enter" - }, - { - "set_variable": { - "name": "dot-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "dot-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "grave_accent_and_tilde" - }, - "to": [ - { - "key_code": "f", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "key_code": "t", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "o", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "d", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "o", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "semicolon", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "return_or_enter" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "grave_accent_and_tilde" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "dot-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "f", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "key_code": "t", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "o", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "d", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "o", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "semicolon", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "return_or_enter" - }, - { - "set_variable": { - "name": "dot-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "dot-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "left_gui" - }, - "to": [ - { - "key_code": "t", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "h" - }, - { - "key_code": "a" - }, - { - "key_code": "n" - }, - { - "key_code": "k" - }, - { - "key_code": "s" - }, - { - "key_code": "spacebar" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "left_gui" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "dot-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "t", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "h" - }, - { - "key_code": "a" - }, - { - "key_code": "n" - }, - { - "key_code": "k" - }, - { - "key_code": "s" - }, - { - "key_code": "spacebar" - }, - { - "set_variable": { - "name": "dot-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "dot-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "spacebar" - }, - "to": [ - { - "key_code": "t", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "h" - }, - { - "key_code": "a" - }, - { - "key_code": "n" - }, - { - "key_code": "k" - }, - { - "key_code": "spacebar" - }, - { - "key_code": "y" - }, - { - "key_code": "o" - }, - { - "key_code": "u" - }, - { - "key_code": "period" - }, - { - "key_code": "spacebar" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "spacebar" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "dot-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "t", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "h" - }, - { - "key_code": "a" - }, - { - "key_code": "n" - }, - { - "key_code": "k" - }, - { - "key_code": "spacebar" - }, - { - "key_code": "y" - }, - { - "key_code": "o" - }, - { - "key_code": "u" - }, - { - "key_code": "period" - }, - { - "key_code": "spacebar" - }, - { - "set_variable": { - "name": "dot-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "jsdot", - "manipulators": [ - { - "conditions": [ - { - "name": "js-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "tab" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: MDN\"'" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-js", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "tab" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "js-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: MDN\"'" - }, - { - "set_variable": { - "name": "js-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "js-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "a" - }, - "to": [ - { - "key_code": "c" - }, - { - "key_code": "o" - }, - { - "key_code": "n" - }, - { - "key_code": "s" - }, - { - "key_code": "o" - }, - { - "key_code": "l" - }, - { - "key_code": "e" - }, - { - "key_code": "period" - }, - { - "key_code": "l" - }, - { - "key_code": "o" - }, - { - "key_code": "g" - }, - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "0", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "left_arrow" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-js", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "a" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "js-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "c" - }, - { - "key_code": "o" - }, - { - "key_code": "n" - }, - { - "key_code": "s" - }, - { - "key_code": "o" - }, - { - "key_code": "l" - }, - { - "key_code": "e" - }, - { - "key_code": "period" - }, - { - "key_code": "l" - }, - { - "key_code": "o" - }, - { - "key_code": "g" - }, - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "0", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "left_arrow" - }, - { - "set_variable": { - "name": "js-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "js-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "s" - }, - "to": [ - { - "key_code": "equal_sign" - }, - { - "key_code": "period", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "spacebar" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-js", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "s" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "js-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "equal_sign" - }, - { - "key_code": "period", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "spacebar" - }, - { - "set_variable": { - "name": "js-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "js-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "d" - }, - "to": [ - { - "key_code": "r" - }, - { - "key_code": "e" - }, - { - "key_code": "t" - }, - { - "key_code": "u" - }, - { - "key_code": "r" - }, - { - "key_code": "n" - }, - { - "key_code": "spacebar" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-js", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "d" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "js-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "r" - }, - { - "key_code": "e" - }, - { - "key_code": "t" - }, - { - "key_code": "u" - }, - { - "key_code": "r" - }, - { - "key_code": "n" - }, - { - "key_code": "spacebar" - }, - { - "set_variable": { - "name": "js-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "js-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "f" - }, - "to": [ - { - "key_code": "f", - "modifiers": [ - "left_command" - ] - }, - { - "key_code": "c" - }, - { - "key_code": "o" - }, - { - "key_code": "n" - }, - { - "key_code": "s" - }, - { - "key_code": "o" - }, - { - "key_code": "l" - }, - { - "key_code": "e" - }, - { - "key_code": "period" - }, - { - "key_code": "l" - }, - { - "key_code": "o" - }, - { - "key_code": "g" - }, - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "return_or_enter" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-js", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "f" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "js-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "f", - "modifiers": [ - "left_command" - ] - }, - { - "key_code": "c" - }, - { - "key_code": "o" - }, - { - "key_code": "n" - }, - { - "key_code": "s" - }, - { - "key_code": "o" - }, - { - "key_code": "l" - }, - { - "key_code": "e" - }, - { - "key_code": "period" - }, - { - "key_code": "l" - }, - { - "key_code": "o" - }, - { - "key_code": "g" - }, - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "return_or_enter" - }, - { - "set_variable": { - "name": "js-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "js-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "g" - }, - "to": [ - { - "key_code": "right_arrow" - }, - { - "key_code": "spacebar" - }, - { - "key_code": "equal_sign" - }, - { - "key_code": "period", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "spacebar" - }, - { - "key_code": "open_bracket", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "return_or_enter" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-js", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "g" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "js-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "right_arrow" - }, - { - "key_code": "spacebar" - }, - { - "key_code": "equal_sign" - }, - { - "key_code": "period", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "spacebar" - }, - { - "key_code": "open_bracket", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "return_or_enter" - }, - { - "set_variable": { - "name": "js-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "js-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "key_code": "right_arrow" - }, - { - "key_code": "spacebar" - }, - { - "key_code": "equal_sign" - }, - { - "key_code": "spacebar" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-js", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "js-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "right_arrow" - }, - { - "key_code": "spacebar" - }, - { - "key_code": "equal_sign" - }, - { - "key_code": "spacebar" - }, - { - "set_variable": { - "name": "js-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "js-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "k" - }, - "to": [ - { - "key_code": "right_arrow" - }, - { - "key_code": "spacebar" - }, - { - "key_code": "open_bracket", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "return_or_enter" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-js", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "js-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "right_arrow" - }, - { - "key_code": "spacebar" - }, - { - "key_code": "open_bracket", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "return_or_enter" - }, - { - "set_variable": { - "name": "js-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "js-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "z" - }, - "to": [ - { - "key_code": "spacebar" - }, - { - "key_code": "c" - }, - { - "key_code": "l" - }, - { - "key_code": "a" - }, - { - "key_code": "s" - }, - { - "key_code": "s" - }, - { - "key_code": "n", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "a" - }, - { - "key_code": "m" - }, - { - "key_code": "e" - }, - { - "key_code": "equal_sign" - }, - { - "key_code": "quote", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "quote", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "left_arrow" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-js", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "z" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "js-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "spacebar" - }, - { - "key_code": "c" - }, - { - "key_code": "l" - }, - { - "key_code": "a" - }, - { - "key_code": "s" - }, - { - "key_code": "s" - }, - { - "key_code": "n", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "a" - }, - { - "key_code": "m" - }, - { - "key_code": "e" - }, - { - "key_code": "equal_sign" - }, - { - "key_code": "quote", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "quote", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "left_arrow" - }, - { - "set_variable": { - "name": "js-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "js-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "c" - }, - "to": [ - { - "key_code": "spacebar" - }, - { - "key_code": "s" - }, - { - "key_code": "t" - }, - { - "key_code": "y" - }, - { - "key_code": "l" - }, - { - "key_code": "e" - }, - { - "key_code": "equal_sign" - }, - { - "key_code": "open_bracket", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "close_bracket", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "left_arrow" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-js", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "c" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "js-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "spacebar" - }, - { - "key_code": "s" - }, - { - "key_code": "t" - }, - { - "key_code": "y" - }, - { - "key_code": "l" - }, - { - "key_code": "e" - }, - { - "key_code": "equal_sign" - }, - { - "key_code": "open_bracket", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "close_bracket", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "left_arrow" - }, - { - "set_variable": { - "name": "js-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "js-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "v" - }, - "to": [ - { - "key_code": "j" - }, - { - "key_code": "a" - }, - { - "key_code": "v" - }, - { - "key_code": "a" - }, - { - "key_code": "s" - }, - { - "key_code": "c" - }, - { - "key_code": "r" - }, - { - "key_code": "i" - }, - { - "key_code": "p" - }, - { - "key_code": "t" - }, - { - "key_code": "spacebar" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-js", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "v" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "js-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "j" - }, - { - "key_code": "a" - }, - { - "key_code": "v" - }, - { - "key_code": "a" - }, - { - "key_code": "s" - }, - { - "key_code": "c" - }, - { - "key_code": "r" - }, - { - "key_code": "i" - }, - { - "key_code": "p" - }, - { - "key_code": "t" - }, - { - "key_code": "spacebar" - }, - { - "set_variable": { - "name": "js-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "js-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "b" - }, - "to": [ - { - "key_code": "t" - }, - { - "key_code": "y" - }, - { - "key_code": "p" - }, - { - "key_code": "e" - }, - { - "key_code": "s" - }, - { - "key_code": "c" - }, - { - "key_code": "r" - }, - { - "key_code": "i" - }, - { - "key_code": "p" - }, - { - "key_code": "t" - }, - { - "key_code": "spacebar" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-js", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "b" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "js-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "t" - }, - { - "key_code": "y" - }, - { - "key_code": "p" - }, - { - "key_code": "e" - }, - { - "key_code": "s" - }, - { - "key_code": "c" - }, - { - "key_code": "r" - }, - { - "key_code": "i" - }, - { - "key_code": "p" - }, - { - "key_code": "t" - }, - { - "key_code": "spacebar" - }, - { - "set_variable": { - "name": "js-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "godot", - "manipulators": [ - { - "conditions": [ - { - "name": "go-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "tab" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: GoDoc\"'" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-go", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "tab" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "go-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: GoDoc\"'" - }, - { - "set_variable": { - "name": "go-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "go-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "a" - }, - "to": [ - { - "key_code": "f" - }, - { - "key_code": "m" - }, - { - "key_code": "t" - }, - { - "key_code": "period" - }, - { - "key_code": "p", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "r" - }, - { - "key_code": "i" - }, - { - "key_code": "n" - }, - { - "key_code": "t" - }, - { - "key_code": "l" - }, - { - "key_code": "n" - }, - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "0", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "left_arrow" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-go", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "a" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "go-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "f" - }, - { - "key_code": "m" - }, - { - "key_code": "t" - }, - { - "key_code": "period" - }, - { - "key_code": "p", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "r" - }, - { - "key_code": "i" - }, - { - "key_code": "n" - }, - { - "key_code": "t" - }, - { - "key_code": "l" - }, - { - "key_code": "n" - }, - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "0", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "left_arrow" - }, - { - "set_variable": { - "name": "go-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "go-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "s" - }, - "to": [ - { - "key_code": "semicolon", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "equal_sign" - }, - { - "key_code": "spacebar" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-go", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "s" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "go-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "semicolon", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "equal_sign" - }, - { - "key_code": "spacebar" - }, - { - "set_variable": { - "name": "go-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "go-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "d" - }, - "to": [ - { - "key_code": "r" - }, - { - "key_code": "e" - }, - { - "key_code": "t" - }, - { - "key_code": "u" - }, - { - "key_code": "r" - }, - { - "key_code": "n" - }, - { - "key_code": "spacebar" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-go", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "d" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "go-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "r" - }, - { - "key_code": "e" - }, - { - "key_code": "t" - }, - { - "key_code": "u" - }, - { - "key_code": "r" - }, - { - "key_code": "n" - }, - { - "key_code": "spacebar" - }, - { - "set_variable": { - "name": "go-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "go-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "f" - }, - "to": [ - { - "key_code": "f", - "modifiers": [ - "left_command" - ] - }, - { - "key_code": "f" - }, - { - "key_code": "m" - }, - { - "key_code": "t" - }, - { - "key_code": "period" - }, - { - "key_code": "p" - }, - { - "key_code": "return_or_enter" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-go", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "f" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "go-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "f", - "modifiers": [ - "left_command" - ] - }, - { - "key_code": "f" - }, - { - "key_code": "m" - }, - { - "key_code": "t" - }, - { - "key_code": "period" - }, - { - "key_code": "p" - }, - { - "key_code": "return_or_enter" - }, - { - "set_variable": { - "name": "go-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "go-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "g" - }, - "to": [ - { - "key_code": "i" - }, - { - "key_code": "f" - }, - { - "key_code": "spacebar" - }, - { - "key_code": "e" - }, - { - "key_code": "r" - }, - { - "key_code": "r" - }, - { - "key_code": "spacebar" - }, - { - "key_code": "1", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "equal_sign" - }, - { - "key_code": "spacebar" - }, - { - "key_code": "n" - }, - { - "key_code": "i" - }, - { - "key_code": "l" - }, - { - "key_code": "spacebar" - }, - { - "key_code": "open_bracket", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "return_or_enter" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-go", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "g" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "go-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "i" - }, - { - "key_code": "f" - }, - { - "key_code": "spacebar" - }, - { - "key_code": "e" - }, - { - "key_code": "r" - }, - { - "key_code": "r" - }, - { - "key_code": "spacebar" - }, - { - "key_code": "1", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "equal_sign" - }, - { - "key_code": "spacebar" - }, - { - "key_code": "n" - }, - { - "key_code": "i" - }, - { - "key_code": "l" - }, - { - "key_code": "spacebar" - }, - { - "key_code": "open_bracket", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "return_or_enter" - }, - { - "set_variable": { - "name": "go-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "go-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "key_code": "grave_accent_and_tilde" - }, - { - "key_code": "j" - }, - { - "key_code": "s" - }, - { - "key_code": "o" - }, - { - "key_code": "n" - }, - { - "key_code": "semicolon", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "quote", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "quote", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "grave_accent_and_tilde" - }, - { - "key_code": "left_arrow" - }, - { - "key_code": "left_arrow" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-go", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "go-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "grave_accent_and_tilde" - }, - { - "key_code": "j" - }, - { - "key_code": "s" - }, - { - "key_code": "o" - }, - { - "key_code": "n" - }, - { - "key_code": "semicolon", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "quote", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "quote", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "grave_accent_and_tilde" - }, - { - "key_code": "left_arrow" - }, - { - "key_code": "left_arrow" - }, - { - "set_variable": { - "name": "go-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "go-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "z" - }, - "to": [ - { - "key_code": "l" - }, - { - "key_code": "o" - }, - { - "key_code": "g" - }, - { - "key_code": "period" - }, - { - "key_code": "p", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "r" - }, - { - "key_code": "i" - }, - { - "key_code": "n" - }, - { - "key_code": "t" - }, - { - "key_code": "l" - }, - { - "key_code": "n" - }, - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "0", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "left_arrow" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-go", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "z" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "go-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "l" - }, - { - "key_code": "o" - }, - { - "key_code": "g" - }, - { - "key_code": "period" - }, - { - "key_code": "p", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "r" - }, - { - "key_code": "i" - }, - { - "key_code": "n" - }, - { - "key_code": "t" - }, - { - "key_code": "l" - }, - { - "key_code": "n" - }, - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "0", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "left_arrow" - }, - { - "set_variable": { - "name": "go-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "go-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "x" - }, - "to": [ - { - "key_code": "f" - }, - { - "key_code": "m" - }, - { - "key_code": "t" - }, - { - "key_code": "period" - }, - { - "key_code": "p", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "r" - }, - { - "key_code": "i" - }, - { - "key_code": "n" - }, - { - "key_code": "t" - }, - { - "key_code": "l" - }, - { - "key_code": "n" - }, - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "0", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "left_arrow" - }, - { - "key_code": "quote", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "hyphen" - }, - { - "key_code": "hyphen" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-go", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "x" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "go-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "f" - }, - { - "key_code": "m" - }, - { - "key_code": "t" - }, - { - "key_code": "period" - }, - { - "key_code": "p", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "r" - }, - { - "key_code": "i" - }, - { - "key_code": "n" - }, - { - "key_code": "t" - }, - { - "key_code": "l" - }, - { - "key_code": "n" - }, - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "0", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "left_arrow" - }, - { - "key_code": "quote", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "hyphen" - }, - { - "key_code": "hyphen" - }, - { - "set_variable": { - "name": "go-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "go-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "c" - }, - "to": [ - { - "key_code": "semicolon", - "modifiers": [ - "left_control", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-go", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "c" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "go-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "semicolon", - "modifiers": [ - "left_control", - "left_shift" - ] - }, - { - "set_variable": { - "name": "go-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "go-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "v" - }, - "to": [ - { - "key_code": "g" - }, - { - "key_code": "o" - }, - { - "key_code": "l" - }, - { - "key_code": "a" - }, - { - "key_code": "n" - }, - { - "key_code": "g" - }, - { - "key_code": "spacebar" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-go", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "v" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "go-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "g" - }, - { - "key_code": "o" - }, - { - "key_code": "l" - }, - { - "key_code": "a" - }, - { - "key_code": "n" - }, - { - "key_code": "g" - }, - { - "key_code": "spacebar" - }, - { - "set_variable": { - "name": "go-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "go-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "b" - }, - "to": [ - { - "key_code": "l" - }, - { - "key_code": "o" - }, - { - "key_code": "g" - }, - { - "key_code": "period" - }, - { - "key_code": "f", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "a" - }, - { - "key_code": "t" - }, - { - "key_code": "a" - }, - { - "key_code": "l" - }, - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "e" - }, - { - "key_code": "r" - }, - { - "key_code": "r" - }, - { - "key_code": "0", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-go", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "b" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "go-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "l" - }, - { - "key_code": "o" - }, - { - "key_code": "g" - }, - { - "key_code": "period" - }, - { - "key_code": "f", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "a" - }, - { - "key_code": "t" - }, - { - "key_code": "a" - }, - { - "key_code": "l" - }, - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "e" - }, - { - "key_code": "r" - }, - { - "key_code": "r" - }, - { - "key_code": "0", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "go-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "pydot", - "manipulators": [ - { - "conditions": [ - { - "name": "py-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "a" - }, - "to": [ - { - "key_code": "p" - }, - { - "key_code": "r" - }, - { - "key_code": "i" - }, - { - "key_code": "n" - }, - { - "key_code": "t" - }, - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "0", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "left_arrow" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-python", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "a" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "py-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "p" - }, - { - "key_code": "r" - }, - { - "key_code": "i" - }, - { - "key_code": "n" - }, - { - "key_code": "t" - }, - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "0", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "left_arrow" - }, - { - "set_variable": { - "name": "py-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "py-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "s" - }, - "to": [ - { - "key_code": "hyphen" - }, - { - "key_code": "period", - "modifiers": [ - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-python", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "s" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "py-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "hyphen" - }, - { - "key_code": "period", - "modifiers": [ - "left_shift" - ] - }, - { - "set_variable": { - "name": "py-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "py-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "d" - }, - "to": [ - { - "key_code": "r" - }, - { - "key_code": "e" - }, - { - "key_code": "t" - }, - { - "key_code": "u" - }, - { - "key_code": "r" - }, - { - "key_code": "n" - }, - { - "key_code": "spacebar" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-python", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "d" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "py-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "r" - }, - { - "key_code": "e" - }, - { - "key_code": "t" - }, - { - "key_code": "u" - }, - { - "key_code": "r" - }, - { - "key_code": "n" - }, - { - "key_code": "spacebar" - }, - { - "set_variable": { - "name": "py-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "py-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "v" - }, - "to": [ - { - "key_code": "p" - }, - { - "key_code": "y" - }, - { - "key_code": "t" - }, - { - "key_code": "h" - }, - { - "key_code": "o" - }, - { - "key_code": "n" - }, - { - "key_code": "spacebar" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-python", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "v" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "py-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "p" - }, - { - "key_code": "y" - }, - { - "key_code": "t" - }, - { - "key_code": "h" - }, - { - "key_code": "o" - }, - { - "key_code": "n" - }, - { - "key_code": "spacebar" - }, - { - "set_variable": { - "name": "py-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "swiftdot", - "manipulators": [ - { - "conditions": [ - { - "name": "swift-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "a" - }, - "to": [ - { - "key_code": "p" - }, - { - "key_code": "r" - }, - { - "key_code": "i" - }, - { - "key_code": "n" - }, - { - "key_code": "t" - }, - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "0", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "left_arrow" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-swift", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "a" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "swift-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "p" - }, - { - "key_code": "r" - }, - { - "key_code": "i" - }, - { - "key_code": "n" - }, - { - "key_code": "t" - }, - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "0", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "left_arrow" - }, - { - "set_variable": { - "name": "swift-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "swift-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "v" - }, - "to": [ - { - "key_code": "s" - }, - { - "key_code": "w" - }, - { - "key_code": "i" - }, - { - "key_code": "f" - }, - { - "key_code": "t" - }, - { - "key_code": "spacebar" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-swift", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "v" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "swift-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "s" - }, - { - "key_code": "w" - }, - { - "key_code": "i" - }, - { - "key_code": "f" - }, - { - "key_code": "t" - }, - { - "key_code": "spacebar" - }, - { - "set_variable": { - "name": "swift-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "rustdot", - "manipulators": [ - { - "conditions": [ - { - "name": "rust-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "a" - }, - "to": [ - { - "key_code": "p" - }, - { - "key_code": "r" - }, - { - "key_code": "i" - }, - { - "key_code": "n" - }, - { - "key_code": "t" - }, - { - "key_code": "l" - }, - { - "key_code": "n" - }, - { - "key_code": "1", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "0", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "left_arrow" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-rust", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "a" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "rust-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "p" - }, - { - "key_code": "r" - }, - { - "key_code": "i" - }, - { - "key_code": "n" - }, - { - "key_code": "t" - }, - { - "key_code": "l" - }, - { - "key_code": "n" - }, - { - "key_code": "1", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "0", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "left_arrow" - }, - { - "set_variable": { - "name": "rust-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "rust-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "v" - }, - "to": [ - { - "key_code": "r" - }, - { - "key_code": "u" - }, - { - "key_code": "s" - }, - { - "key_code": "t" - }, - { - "key_code": "spacebar" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-rust", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "v" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "rust-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "r" - }, - { - "key_code": "u" - }, - { - "key_code": "s" - }, - { - "key_code": "t" - }, - { - "key_code": "spacebar" - }, - { - "set_variable": { - "name": "rust-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "elixdot", - "manipulators": [ - { - "conditions": [ - { - "name": "elixir-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "a" - }, - "to": [ - { - "key_code": "i", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "o", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "period" - }, - { - "key_code": "p" - }, - { - "key_code": "u" - }, - { - "key_code": "t" - }, - { - "key_code": "s" - }, - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "0", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "left_arrow" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-elixir", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "a" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "elixir-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "i", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "o", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "period" - }, - { - "key_code": "p" - }, - { - "key_code": "u" - }, - { - "key_code": "t" - }, - { - "key_code": "s" - }, - { - "key_code": "9", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "0", - "modifiers": [ - "left_shift" - ] - }, - { - "key_code": "left_arrow" - }, - { - "set_variable": { - "name": "elixir-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "elixir-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "v" - }, - "to": [ - { - "key_code": "e" - }, - { - "key_code": "l" - }, - { - "key_code": "i" - }, - { - "key_code": "x" - }, - { - "key_code": "i" - }, - { - "key_code": "r" - }, - { - "key_code": "spacebar" - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "in-elixir", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "simultaneous": [ - { - "key_code": "period" - }, - { - "key_code": "v" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "elixir-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "e" - }, - { - "key_code": "l" - }, - { - "key_code": "i" - }, - { - "key_code": "x" - }, - { - "key_code": "i" - }, - { - "key_code": "r" - }, - { - "key_code": "spacebar" - }, - { - "set_variable": { - "name": "elixir-mode", - "value": 1 - } - } - ], - "type": "basic" - } - ] - }, - { - "description": "spacekey (websites)", - "manipulators": [ - { - "conditions": [ - { - "name": "spacebar-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "q" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: CleanShot\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "spacebar" - }, - { - "key_code": "q" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "spacebar-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"open: CleanShot\"'" - }, - { - "set_variable": { - "name": "spacebar-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "spacebar-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "w" - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "left_command" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "spacebar" - }, - { - "key_code": "w" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "spacebar-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "w", - "modifiers": [ - "left_command" - ] - }, - { - "set_variable": { - "name": "spacebar-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "spacebar-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "e" - }, - "to": [ - { - "key_code": "2", - "modifiers": [ - "left_control", - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "spacebar" - }, - { - "key_code": "e" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "spacebar-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "2", - "modifiers": [ - "left_control", - "left_option" - ] - }, - { - "set_variable": { - "name": "spacebar-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "spacebar-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "r" - }, - "to": [ - { - "key_code": "4", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "spacebar" - }, - { - "key_code": "r" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "spacebar-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "4", - "modifiers": [ - "left_command", - "left_option", - "left_shift" - ] - }, - { - "set_variable": { - "name": "spacebar-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "spacebar-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "t" - }, - "to": [ - { - "key_code": "4", - "modifiers": [ - "left_command", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "spacebar" - }, - { - "key_code": "t" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "spacebar-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "4", - "modifiers": [ - "left_command", - "left_shift" - ] - }, - { - "set_variable": { - "name": "spacebar-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "spacebar-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "i" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: GitHub (notifications)\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "spacebar" - }, - { - "key_code": "i" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "spacebar-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: GitHub (notifications)\"'" - }, - { - "set_variable": { - "name": "spacebar-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "spacebar-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "o" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Google Docs\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "spacebar" - }, - { - "key_code": "o" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "spacebar-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Google Docs\"'" - }, - { - "set_variable": { - "name": "spacebar-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "spacebar-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "open_bracket" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Google Slides\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "spacebar" - }, - { - "key_code": "open_bracket" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "spacebar-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Google Slides\"'" - }, - { - "set_variable": { - "name": "spacebar-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "spacebar-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "close_bracket" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Beautiful.ai\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "spacebar" - }, - { - "key_code": "close_bracket" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "spacebar-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Beautiful.ai\"'" - }, - { - "set_variable": { - "name": "spacebar-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "spacebar-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "caps_lock" - }, - "to": [ - { - "key_code": "g", - "modifiers": [ - "left_command", - "left_control", - "left_option", - "left_shift" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "spacebar" - }, - { - "key_code": "caps_lock" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "spacebar-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "g", - "modifiers": [ - "left_command", - "left_control", - "left_option", - "left_shift" - ] - }, - { - "set_variable": { - "name": "spacebar-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "spacebar-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "a" - }, - "to": [ - { - "key_code": "4", - "modifiers": [ - "left_control", - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "spacebar" - }, - { - "key_code": "a" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "spacebar-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "4", - "modifiers": [ - "left_control", - "left_option" - ] - }, - { - "set_variable": { - "name": "spacebar-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "spacebar-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "f" - }, - "to": [ - { - "key_code": "5", - "modifiers": [ - "left_command", - "left_option" - ] - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "spacebar" - }, - { - "key_code": "f" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "spacebar-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "key_code": "5", - "modifiers": [ - "left_command", - "left_option" - ] - }, - { - "set_variable": { - "name": "spacebar-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "spacebar-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "h" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Roam Research\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "spacebar" - }, - { - "key_code": "h" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "spacebar-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Roam Research\"'" - }, - { - "set_variable": { - "name": "spacebar-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "spacebar-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "j" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Excalidraw\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "spacebar" - }, - { - "key_code": "j" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "spacebar-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Excalidraw\"'" - }, - { - "set_variable": { - "name": "spacebar-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "spacebar-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "k" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: GitHub\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "spacebar" - }, - { - "key_code": "k" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "spacebar-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: GitHub\"'" - }, - { - "set_variable": { - "name": "spacebar-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "spacebar-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "l" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Localhost\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "spacebar" - }, - { - "key_code": "l" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "spacebar-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Localhost\"'" - }, - { - "set_variable": { - "name": "spacebar-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "spacebar-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "semicolon" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: StackBlitz\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "spacebar" - }, - { - "key_code": "semicolon" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "spacebar-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: StackBlitz\"'" - }, - { - "set_variable": { - "name": "spacebar-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "spacebar-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "quote" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Learn Anything\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "spacebar" - }, - { - "key_code": "quote" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "spacebar-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Learn Anything\"'" - }, - { - "set_variable": { - "name": "spacebar-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "spacebar-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "b" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Digital Ocean\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "spacebar" - }, - { - "key_code": "b" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "spacebar-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Digital Ocean\"'" - }, - { - "set_variable": { - "name": "spacebar-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "spacebar-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "n" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: GCP\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "spacebar" - }, - { - "key_code": "n" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "spacebar-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: GCP\"'" - }, - { - "set_variable": { - "name": "spacebar-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "spacebar-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "m" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: AWS\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "spacebar" - }, - { - "key_code": "m" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "spacebar-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: AWS\"'" - }, - { - "set_variable": { - "name": "spacebar-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "spacebar-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "comma" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Diagrams\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "spacebar" - }, - { - "key_code": "comma" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "spacebar-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: Diagrams\"'" - }, - { - "set_variable": { - "name": "spacebar-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "spacebar-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "period" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: YouTube\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "spacebar" - }, - { - "key_code": "period" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "spacebar-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: YouTube\"'" - }, - { - "set_variable": { - "name": "spacebar-mode", - "value": 1 - } - } - ], - "type": "basic" - }, - { - "conditions": [ - { - "name": "spacebar-mode", - "type": "variable_if", - "value": 1 - } - ], - "from": { - "key_code": "slash" - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: GitHub PR\"'" - } - ], - "type": "basic" - }, - { - "from": { - "simultaneous": [ - { - "key_code": "spacebar" - }, - { - "key_code": "slash" - } - ], - "simultaneous_options": { - "detect_key_down_uninterruptedly": true, - "key_down_order": "strict", - "key_up_order": "strict_inverse", - "key_up_when": "any", - "to_after_key_up": [ - { - "set_variable": { - "name": "spacebar-mode", - "value": 0 - } - } - ] - } - }, - "parameters": { - "basic.simultaneous_threshold_milliseconds": 250 - }, - "to": [ - { - "shell_command": "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"w: GitHub PR\"'" - }, - { - "set_variable": { - "name": "spacebar-mode", - "value": 1 - } - } - ], - "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": "goku", - "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": "a to 1", - "manipulators": [ - { - "from": { - "key_code": "a" - }, - "to": [ - { - "key_code": "1" - } - ], - "type": "basic" - } - ] - }, - { - "description": "b to 2", - "manipulators": [ - { - "from": { - "key_code": "b" - }, - "to": [ - { - "key_code": "2" - } - ], - "type": "basic" - } - ] - }, - { - "description": "c to insert 123", - "manipulators": [ - { - "from": { - "key_code": "c" - }, - "to": [ - { - "key_code": "1" - }, - { - "key_code": "2" - }, - { - "key_code": "3" - } - ], - "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": "Default", - "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