From 64854ceebd78d1105f74711905d12a13717bdfe0 Mon Sep 17 00:00:00 2001 From: Ein Verne Date: Thu, 15 Oct 2020 18:52:14 +0800 Subject: [PATCH] Karabiner: add more goku config --- karabiner/karabiner.edn | 938 + karabiner/karabiner.json | 44338 ++++++++++++++++++++++++++++++++++++- zsh/env.zsh | 2 + 3 files changed, 45277 insertions(+), 1 deletion(-) create mode 100644 karabiner/karabiner.edn diff --git a/karabiner/karabiner.edn b/karabiner/karabiner.edn new file mode 100644 index 0000000..8d0ae50 --- /dev/null +++ b/karabiner/karabiner.edn @@ -0,0 +1,938 @@ +{ + ;; ! | means mandatory + ;; # | means optional + ;; !! | mandatory command + control + optional + shift (hyper) + ;; ## | optional any + + ;; to understand better how modifiers work in karabiner + ;; https://pqrs.org/osx/karabiner/json.html#from-event-definition-modifiers + + ;; C | left_command + ;; T | left_control + ;; O | left_option + ;; S | left_shift + ;; F | fn + ;; Q | right_command + ;; W | right_control + ;; E | right_option + ;; R | right_shift + ;; need to prefix C T O S F with ! or # + +:profiles + {:goku {:default true + :sim 50 ;; simultaneous_threshold_milliseconds (def: 50) + ;; keys need to be pressed within this threshold to be considered simultaneous + :delay 0 ;; to_delayed_action_delay_milliseconds (def: 500) + ;; time after which the key press is delayed + :alone 85 ;; to_if_alone_timeout_milliseconds (def: 1000) + ;; hold for .. ms to register single tap + :held 500 ;; to_if_held_down_threshold_milliseconds (def: 500) + ;; key is fired twice when 500ms is elapsed (otherwise seen as a hold command) + }} + :templates { + :alfred "osascript -e 'tell application \"Alfred 4\" to run trigger \"%s\" in workflow \"%s\" with argument \"%s\"'" + :km "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"%s\"'" + :open "open \"%s\"" + } + :devices { + :kybs [ ;; default for all keyboards + {:vendor_id 1452} + {:vendor_id 9494 :product_id 17} + ] + :apple [{:vendor_id 1452 :product_id 832}] + :quickfire [{:vendor_id 9494 :product_id 17}] + } + :applications {:chrome ["^com\\.google\\.Chrome$"] + :chrome-canary [ "^com\\.google\\.Chrome\\.canary$"] + :chromes ["^com\\.google\\.Chrome$" "^com\\.google\\.Chrome\\.canary$"] + :ctrlnp ["md\\.obsidian", + "com\\.jetbrains\\.intellij", + "com.electron.lark" + "com\\.google\\.Chrome"] + :finder ["^com\\.apple\\.finder$"] + :terminals ["com\\.apple\\.Terminal", + "com\\.googlecode\\.iterm2"] + } + :input-sources {:squirrel {:input_mode_id "com.googlecode.rimeime.inputmethod.Squirrel" + :input_source_id "com.googlecode.rimeime.inputmethod.Squirrel.Rime" + :language "zh-Hans"} + :us {:input_mode_id "" + :input_source_id "com.apple.keylayout.US" + :language "en"}} + :layers { + :hyper-mode {:key :caps_lock :alone {:key :escape}}} + ;; simlayers are basically "hyper" keys + ;; recommended for non-typing keys like `.` or tab or space + ;; or keys like z which are used less often + :simlayers { + :2-mode {:key :2} + :3-mode {:key :3} + :4-mode {:key :4} + :tab-mode {:key :tab} + :q-mode {:key :q} + :w-mode {:key :w} + :e-mode {:key :e} + :r-mode {:key :r} + :t-mode {:key :t} + :i-mode {:key :i} + :o-mode {:key :o} + :caps-mode {:key :caps_lock} + :a-mode {:key :a} + :s-mode {:key :s} + :d-mode {:key :d} + :f-mode {:key :f} + :g-mode {:key :g} + :semicolon-mode {:key :semicolon} + :tilde-mode {:key :grave_accent_and_tilde} + :z-mode {:key :z} + :x-mode {:key :x} + :c-mode {:key :c} + :v-mode {:key :v} + :b-mode {:key :b} + :n-mode {:key :n} + :m-mode {:key :m} + :comma-mode {:key :comma} + :dot-mode {:key :period} + :spacebar-mode {:key :spacebar} + :go-mode {:key :period :condi ["in-go" 1]} + :js-mode {:key :period :condi ["in-js" 1]} + :swift-mode {:key :period :condi ["in-swift" 1]} + :rust-mode {:key :period :condi ["in-rust" 1]} + :py-mode {:key :period :condi ["in-python" 1]} + :elixir-mode {:key :period :condi ["in-elixir" 1]} + } + :main [ + ;; each manipulator has a description and multiple rules + + ;;{:des "..." ;; -> description + ;; :rules[ + ;; [ ] ;; -> rule 1 + ;; [ ] ;; -> rule 2 + ;; ]} + + ;; rule [:period ["period-mode" 1] nil {:afterup ["period-mode" 0] :alone :period}] + ;; |_____| |_______________| |_| |_________________________________________| + ;; + ;; + ;; karabiner docs: ;; https://pqrs.org/osx/karabiner/json.html#complex_modifications-manipulator-definition + ;; includs ~to_if_alone~, ~to_if_held_down~,~to_after_key_up~, ~to_delayed_action~ and ~parameters~. + ;; + + ;; (custom variables) & modifiers -> Advanced + ;; https://github.com/yqrashawn/GokuRakuJoudo/blob/master/examples.org#custom-variable + + ;; Setup for quickfire keyboard + {:des "CM Storm keyboard setup" + :rules [:quickfire + [:##left_command :left_option] + [:##left_option :left_command] + [:##right_command :right_option] + [:##right_option :right_command] + ]} + + {:des "swap cmd <-> option when using specific devices" + :rules [ + [:##left_command :left_option [:quickfire]] + [:##left_option :left_command [:quickfire]] + ] } + {:des "caps lock -> escape(alone) and caps lock -> hyper" + :rules [ + [:##caps_lock :!CTOleft_shift nil {:alone :escape}] + ]} + {:des "Ctrl np -> down up" + :rules [ + [:!Tn :down_arrow [:ctrlnp]] + [:!Tp :up_arrow [:ctrlnp]] + ]} + {:des "F2 as Rename in Finder" + :rules [ + [:##f2 :return_or_enter [:finder]]]} + {:des "Disable Cmd+H Hide" + :rules [ + [:!Ch nil nil [:kybs]] + ]} + {:des "Ctrl W -> Delete last word" + :rules [ + [:!Tw :!Tw [:terminals]] + [:!Ww :!Ww [:terminals]] + [:!Tw :!TOSdelete_or_backspace [:!terminals]] + [:!Ww :!TOSdelete_or_backspace [:!terminals]] + ]} + {:des "Cmd + Q held 1 second to quit" + :rules [ + [:!Cq nil nil {:held :!Cq :repeat false}]]} + {:des "Quit application by pressing command-q twice" + :rules [[:!C#Pq [:!Cq ["command-q" 0]] ["command-q" 1]] + [:!C#Pq ["command-q" 1] nil {:delayed {:invoked ["command-q" 0] :canceled ["commandq" 0]}}]]} + {:des "Use Delete as Move to Trash" + :rules [ + [:##delete_forward :!Cdelete_or_backspace [:finder]]]} + {:des "right_command to f16" + :rules [ + [:##right_command :f16] + ]} + {:des "colonkey (shift)" + :rules [:semicolon-mode + [:1 :!T1] + [:2 :!T2] + [:3 :!T3] + [:4 :!T4] + [:5 :!T5] + [:q :!Sq] + [:w :!Sw] + [:e :!Se] + [:r :!Sr] + [:t :!St] + [:y :!Sy] + [:u :!Su] + [:i :!Si] + [:o :!So] + [:p :!Sp] + [:a :!Sa] + [:s :!Ss] + [:d :!Sd] + [:f :!Sf] + [:g :!Sg] + [:h :!Sh] + [:j :!Sj] + [:k :!Sk] + [:l :!Sl] + [:grave_accent_and_tilde [:!Sgrave_accent_and_tilde]] ; -> ~ + [:z :!Sz] + [:x :!Sx] + [:c :!Sc] + [:v :!Sv] + [:b :!Sb] + [:n :!Sn] + [:m :!Sm]]} + {:des "jsim" + :rules [[[:j :k] [:alfred "search google" "net.deanishe.alfred-searchio"]] + [[:j :semicolon] [:alfred "search tabs" "net.deanishe.alfred.safari"]] + [[:j :l] :!Cspacebar]]} ; Alfred + {:des "ksim" + :rules [[[:k :l] [:alfred "search dash" "com.kapeli.dash.workflow"]] + [[:k :m] [:alfred "search youtube" "net.deanishe.alfred-searchio"]]]} + {:des "2key (move + alfred)" + :rules [:2-mode + [:j "say '2 j press'"] + [:o [:alfred "soulver" "app.soulver.alfredworkflow"]] + [:j :!Cdown_arrow] + [:k :!Cup_arrow] + [:l :!Cright_arrow] + [:h :!Cleft_arrow] + [:semicolon :!Oup_arrow] + [:quote :!Odown_arrow] + [:spacebar :!COSu]]} ; Selection -> HN + {:des "3key (open files + projects)" + :rules [:3-mode + [:r [:km "proj: LA"]] + [:i [:km "edit: Likes"]] + [:o [:km "edit: Projects"]] + [:t [:km "edit: Git config"]] + [:h [:km "wiki: Used hotkeys"]] + [:j [:km "edit: Aliases"]] + [:k [:km "edit: Zsh functions"]] + [:l [:km "Search current safari url in wiki"]] + [:semicolon [:km "proj: Knowledge"]] + [:quote [:km "wiki: Summary"]] + [:n [:km "proj: Dotfiles"]] + [:m [:km "proj: Home"]] + [:comma [:km "edit: Now"]] + [:period [:km "edit: GitHub Bio"]] ; TODO: + [:spacebar :!CSOp]]} ; Selection -> Reddit + {:des "4key (open curated lists)" + :rules [:4-mode + [:r [:km "edit: Web Searches"]] + [:t [:km "list: Newsletters"]] + [:o [:km "list: Blogs"]] + [:p [:km "list: Podcasts"]] + [:k [:km "list: Alfred workflows"]] + [:l [:km "list: Command line tools"]] + [:n [:km "list: Events"]]]} + {:des "tabkey (websites)" + :rules [:tab-mode + ;[:j :!SOTw] ; Replies + ;[:k :!SOTf] ; App specific + ;[:l :!SOTr] ; Personal + [:j [:km "w: Phabricator"]] + [:k [:km "w: GitLab"]] + [:l [:km "w: RealTime"]] + [:period [:km "w: CodeSandbox"]]]} + {:des "qkey (cmd + shift)" + :rules [:q-mode + [:3 :!CS3] + [:4 :!CS4] + [:5 :!CS5] + [:6 :!CS6] + [:7 :!CS7] + [:8 :!CS8] + [:9 :!CS9] + [:0 :!CS0] + [:w :!CSw] + [:e :!CSe] + [:r :!CSr] + [:t :!CSt] + [:y :!CSy] + [:u :!CSu] + [:i :!CSi] + [:o :!CSo] + [:p :!CSp] + [:open_bracket :!CSopen_bracket] + [:close_bracket :!CSclose_bracket] + [:a :!CSa] + [:s :!CSs] + [:d :!CSd] + [:f :!CSf] + [:g :!CSg] + [:h :!CSh] + [:j :!CSj] + [:k :!CSk] + [:l :!CSl] + [:semicolon :!CSsemicolon] + [:quote :!CSquote] + [:z :!CSz] + [:x :!CSx] + [:c :!CSc] + [:v :!CSv] + [:b :!CSb] + [:n :!CSn] + [:m :!CSm] + [:comma :!CScomma] + [:period :!CSperiod] + [:slash :!CSslash] + [:spacebar :!CSOe]]} ; Selection -> YouTube + {:des "wkey (apps)" + :rules [:w-mode + [:e [:km "open: Fantastical"]] + [:r [:km "open: Notion"]] + [:t [:km "open: Activity Monitor"]] + ;[:i [:km "open: Safari Technology Preview"]] + [:i [:km "open: Instruments"]] + [:o [:km "open: Keyboard Maestro"]] + [:p [:km "open: Postgres"]] + [:caps_lock [:km "open: Finder"]] + [:a :!OSC1] ; Open Dash + [:d [:km "open: Postico"]] + [:f [:km "open: 2Do"]] + ;[:g [:km "open: Linear"]] + [:j [:km "open: iTerm"]] + [:k [:km "open: Safari"]] + [:l [:km "open: VS Code"]] + [:semicolon [:km "open: Xcode"]] + [:quote [:km "open: Console"]] + [:c [:km "open: Spotify"]] + [:v [:km "open: Paw"]] + [:b [:km "open: BetterTouchTool"]] + [:n [:km "open: Sublime Text"]] + [:m [:km "open: Sublime Merge"]] + ;[:period [:km "open: Proxyman"]] + [:period [:km "open: Cypress"]] + [:spacebar :!CT7]]} ; Start Google search with selection + {:des "ekey (cmd)" + :rules [:e-mode + [:q :!Cq] + [:w :!Cw] + [:r :!Cr] + [:t :!Ct] + [:u :!Cu] + [:i :!Ci] + [:p :!Cp] + [:open_bracket :!Copen_bracket] + [:close_bracket :!Cclose_bracket] + [:semicolon :!Csemicolon] + [:quote :!Cquote] + [:comma :!Ccomma] + [:period :!Cperiod] + [:slash :!Cslash] + [:a :!Ca] + [:b :!Cb] + [:c :!Cc] + [:d :!Cd] + [:f :!Cf] + [:g :!Cg] + [:h :!Ch] + [:j :!Cj] + [:k :!Ck] + [:l :!Cl] + [:m :!Cm] + [:n :!Cn] + [:o :!Co] + [:s :!Cs] + [:v :!Cv] + [:x :!Cx] + [:y :!Cy] + [:z :!Cz] + [:1 :!C1] + [:2 :!C2] + [:3 :!C3] + [:4 :!C4] + [:5 :!C5] + [:6 :!C6] + [:7 :!C7] + [:8 :!C8] + [:9 :!C9] + [:0 :!C0] + [:spacebar :!CSO7]]} ; Selection -> Google Lucky + {:des "rkey (apps)" + :rules [:r-mode + [:tab [:km "open: Transmission"]] + [:q [:km "open: IINA"]] + [:w [:km "open: 1Password"]] + [:e [:km "open: Keynote"]] + ;[:i [:km "open: Flume"]] + [:i [:km "open: Feedback Assistant"]] + [:o [:km "open: Developer"]] + ;[:caps_lock [:km "open: Preview"]] + [:a [:km "open: Alfred Preferences"]] + [:j [:km "open: Dictionary"]] + [:k [:km "open: Preview"]] + [:l [:km "open: Books"]] + ;[:k [:km "open: PDF Expert"]] + ;[:l [:km "open: Reeder"]] + [:b [:km "Edit keyboard shortcuts"]] + [:n [:km "open: ScreenFlow"]] + [:m [:km "open: OBS"]] + [:comma [:km "open: Arq"]] + [:period [:km "open: Final Cut Pro"]] + [:spacebar :!COSx]]} ; Selection -> Reddit + {:des "tkey (palettes + websites)" + :rules [:t-mode + [:0 [:km "w: regex101"]] + [:e [:km "w: Facebook"]] + [:r [:km "w: Repl"]] + [:u [:km "w: Medium"]] + [:i [:km "w: Arxiv"]] + [:o [:km "w: Stack Overflow"]] + [:p [:km "w: Dropbox"]] + [:a [:km "w: Amazon"]] + [:h [:km "w: Twitch"]] + [:j :!COSo] ; Safari URL -> Twitter + ;[:j :!COSo] ; Safari URL -> Google + ;[:k :!COSo] ; Safari URL -> HN + ;[:l :!COSo] ; Safari URL -> Lobsters + [:semicolon [:km "w: Netlify"]] + [:z [:km "w: MDN"]] + [:b [:km "w: Observable"]] + [:m [:km "w: Meetup"]] + [:comma [:km "w: Google Drive"]] + [:period [:km "w: IFTTT"]] + [:spacebar :!COSr]]} ; Selection -> Google Translate + {:des "ikey (symbols)" + :rules [:i-mode + [:1 :!S1] + [:2 :!S2] + [:3 :!Sequal_sign] + [:4 :!S8] + [:5 :!S5] + [:q :!Sopen_bracket] + [:w :!S9] + [:e :!S3] + [:r :!Squote] + [:t :quote] + [:o :open_bracket] ; [ + [:p :close_bracket] ; ] + [:open_bracket :!Sclose_bracket] ; } + [:caps_lock [:km "Match symbols"]] + [:a :slash] + [:s :!Shyphen] + [:d :backslash] + [:f :hyphen] + [:g :!S4] + [:j :equal_sign] + [:l [:hyphen :!Speriod :spacebar]] ; -> arrow (->) + [:semicolon :semicolon] + [:grave_accent_and_tilde :!Sgrave_accent_and_tilde] ; -> // + [:z :!Sslash] + [:x :!Sbackslash] + [:c :!S7] + [:v :!Scomma] + [:b [:slash :slash :spacebar]]]} ; -> // + {:des "okey (alfred)" + :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 [:alfred "search menu bar" "com.tedwise.menubarsearch"]] + [:grave_accent_and_tilde [:alfred "search processes" "com.vitorgalvao.alfred.processcontrol"]] + [:x [:alfred "search workflows" "org.jeef.workflowdirectory"]] + ;[: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 + [:0 :down_arrow] + [:1 [:alfred "Screenshot -> Imgur" "com.vitorgalvao.alfred.webscreenshot"]] + [:2 :!TO2] ; Screenshot -> Clipboard + [:3 :!TO3] ; Screenshot -> Annotate + [:4 :!TO9] ; Picture of screen -> Clipboard + [:5 :!TO0] ; Picture of screen -> ~/Desktop + [:w [:km "wiki: My workflow"]] + [:e [:km "edit: Private notes"]] + [:r [:km "wiki: Rules"]] + [:t [:km "wiki: Processes"]] + [:u [:km "Open 2Do Buy"]] + [:i [:km "Open 2Do Fix"]] + [:o [:km "Open 2Do Tools"]] + [:p [:km "Open 2Do Repeat"]] + [:open_bracket [:km "w: Goodreads (currently reading)"]] + [:close_bracket [:km "w: Goodreads (next)"]] + [:s [:km "Open 2Do Wiki"]] + [:d [:open "notion://nikitavoloboev/Ideas-0b5a4e8a88f34fe29a1f33dad02e5332"]] + [:f [:km "Search 2Do"]] + [:g [:km "Open 2Do Life"]] + [:h [:open "notion://nikitavoloboev/Learn-05c0eac7be904e0da89cd8a3bf7ab509"]] + [:j [:km "Open 2Do Today"]] + [:k [:km "Open 2Do GitHub"]] + [:l [:km "Open 2Do Later"]] + [:semicolon [:km "Open 2Do Starred"]] + [:quote [:km "Open 2Do Other"]] ; TODO: remove once its empty + [:c [:km "Look back"]] + [:v [:km "wiki: Goals"]] + [:b [:open "notion://nikitavoloboev/Papers-Courses-8f00c7c500d5460490a5800c5d5db431"]] + [:n [:km "Open 2Do Clean"]] + [:m [:km "Open 2Do Work"]] + [:period [:km "Open 2Do LA"]]]} + {:des "akey (ctrl)" + :rules [:a-mode + [:2 :!T2] + [:3 :!T3] + [:4 :!T4] + [:5 :!T5] + [:6 :!T6] + [:7 :!T7] + [:8 :!T8] + [:9 :!T9] + [:0 :!T0] + [:q :!Tq] + [:w :!Tw] + [:e :!Te] + [:r :!Tr] + [:t :!Tt] + [:i :!Ti] + [:o :!To] + [:y :!Ty] + [:u :!Tu] + [:p :!Tp] + [:open_bracket :!Topen_bracket] + [:close_bracket :!Tclose_bracket] + [:s :!Ts] + [:d :!Td] + [:f :!Tf] + [:g :!Tg] + [:h :!Th] + [:j :!Tj] + [:k :!Tk] + [:l :!Tl] + [:semicolon :!Tsemicolon] + [:quote :!Tquote] + [:z :!Tz] + [:x :!Tx] + [:c :!Tc] + [:v :!Tv] + [:b :!Tb] + [:n :!Tn] + [:m :!Tm] + [:comma :!Tcomma] + [:period :!Tperiod] + [:slash :!Tslash] + [:spacebar :!CT9]]} ; Selection -> Google + {:des "skey (essential)" + :rules [:s-mode + [:w [:!Oleft_arrow :!OSright_arrow]] ; Highlight word + [:e :tab] + [:r :!Stab] + [:t :!Sreturn_or_enter] + [:u :!COp] ; Selection -> HasteBin link + [:i :!CTperiod] ; Contexts search active windows + [:o :!Cx] ; Cut + ;[:open_bracket :!Oleft_arrow] + [:open_bracket [:km "Lowercase selected text"]] + [:close_bracket [:km "Uppercase selected text"]] + [:a :!Cc] ; Copy + [:d :delete_or_backspace] + [:f :return_or_enter] + [:g :!Ctab] + [:##h :left_arrow] + [:##j :down_arrow] + [:##k :up_arrow] + [:##l :right_arrow] + [:semicolon :!CTO0] ; Search Alfred Snippets + [:quote [:!Cleft_arrow :!CSright_arrow]] ; Highlight current line + [:c :!Cdelete_or_backspace] + [:v :left_shift] + [:##b :!Cleft_arrow] + [:n :!Cv] ; Paste + [:##m :!Cright_arrow] + [:period :!COS0]]} ; Selection -> Alfred Snippets TODO: + {:des "dkey (mouse)" + :rules [:d-mode + [:i :!Ckeypad_hyphen] ; Zoom out + [:o :!Ckeypad_plus] ; Zoom in + [:a [:!Cc :!Ctab]] ; Copy & activate previous app + [:j {:mkey {:vwheel 60}}] ; Scroll down + [:k {:mkey {:vwheel -60}}] ; Scroll up + [:l [:km "Google clipboard"]] + ;[:l [:km "Google selected word"]] + [:semicolon [:km "Google Searchio selected word"]] + [:quote [:km "Select line and google"]] + [:z {:pkey :button2}] ; Right click + [:v {:pkey :button1}] ; Left click + [:b {:pkey :button3}] ; Middle click + [:n [:km "Open URL in clipboard in Safari"]] + [:m [:km "Google Lucky selected word"]] + [:comma :!TO8] ; Show Launchpad + [:period :!CTO3] ; Mission control + [:spacebar :!CT8]]} ; Selection -> Dictionary (wiki) + {:des "fkey (essential)" + :rules [:f-mode + [:1 [:km "View Sip"]] + [:2 [:km "Go to test macro"]] + [:3 [:km "New global macro"]] ; TODO: create global macro from Test (clear test, focus on naming new macro) + [:tab [:km "Test"]] + ;[:q [:km "open: Photos"]] + ;[:w [:km "open: Simulator / Xcode"]] + ;[:q [:km "open: MindNode"]] + [:q [:km "open: Chrome Canary"]] + [:w [:km "Save clipboard link"]] + [:e :!CO8] ; Alfred clipboard history search + [:r [:km "Centre mouse to active app"]] + [:i :!Treturn_or_enter] + [:o :!Oreturn_or_enter] + [:p :!CTOc] ; Sleep + [:open_bracket :!CT5] ; Turn display on/off + [:caps_lock :!CTOu] ; Sip color picker + [:a [:km "open: Figma"]] + [:s [:km "edit: 2nd iTerm tab"]] + [:d [:km "Save clipboard link (top)"]] + [:h [:km "Make markdown link from selection {link}"]] + [:j [:km "edit: 1st iTerm tab"]] + [:k :return_or_enter] + [:l :!Creturn_or_enter] + [:semicolon [:km "edit: Karabiner"]] + [:quote [:km "Goku Run"]] + [:z :!Ospacebar] ; Switch language (Russian <-> English) + [:n :!Freturn_or_enter] + [:m :!Sreturn_or_enter] + [:comma [:km "Add safari link to selected markdown text"]] + [:period :!CTO4] ; Alfred file action + [:spacebar :!CTq]]} ; Selection -> Web Searches + {:des "gkey (actions)" + :rules [:g-mode + [:q :!CT3] ; Search bartender menu items + [:w :!CSgrave_accent_and_tilde] ; Switch between active windows (go up) + [:caps_lock [:km "Go to KM group of current app from picklist"]] + [:a [:km "Go to KM group of current app"]] + [:s [:km "Dismiss notifications"]] + [:h :!CSOa] ; Move window left + [:j :!Cgrave_accent_and_tilde] ; Switch between active windows (go down) + [:k :!COSf] ; Maximize window + [:l :!CSOd] ; Move window right + [:semicolon :!COSs] ; Move window between different screen & maximize (iPad) + [:z :!CO0] ; Show Dropzone dropdown + [:n :!CTOg] ; Turn on/off notifications + [:m :!COslash] ; Show/hide notification centre + [:period :!COS6]]} ; Toggle Night Shift on/off. + {:des "tilkey (actions + language switches)" + :rules [:tilde-mode + [:w [:alfred "toggle wifi" "nikivi.wifi.tools"]] + [:e :!CTk] ; Turn on/off BTT TouchBar + [:r [:alfred "restart wifi" "nikivi.wifi.tools"]] + [:d [:km "Commit dotfiles"]] + [:f [:km "Commit learning"]] + [:h [:km "Commit home"]] + [:j [[:open "dash://.js:"] ["in-python" 0] ["in-go" 0] ["in-js" 1] ["in-elixir" 0] ["in-rust" 0] ["in-swift" 0]]] ; JS + ;[:j [[:open "dash://.jsts:"] ["in-python" 0] ["in-go" 0] ["in-js" 1] ["in-elixir" 0] ["in-rust" 0] ["in-swift" 0]]] ; JS + [:k [[:open "dash://.go:"] ["in-python" 0] ["in-go" 1] ["in-js" 0] ["in-elixir" 0] ["in-rust" 0] ["in-swift" 0]]] ; Go + [:l [[:open "dash://.python:"] ["in-python" 1] ["in-go" 0] ["in-js" 0] ["in-elixir" 0] ["in-rust" 0] ["in-swift" 0]]] ; Python + [:c [:km "Commit code"]] + [:v [:km "Commit wiki"]] + ;[:n [[:open "dash://.rust:"] ["in-python" 0] ["in-go" 0] ["in-js" 0] ["in-elixir" 0] ["in-rust" 1] ["in-swift" 0]]] ; Rust + ;[:n :!STh] ; Record macro + ;[:m [[:open "dash://.swift:"] ["in-python" 0] ["in-go" 0] ["in-js" 0] ["in-elixir" 0] ["in-rust" 0] ["in-swift" 1]]] ; Swift + [:spacebar :!COSn]]} ; Selection -> GitHub + {:des "zkey (chat)" + :rules [:z-mode + [:e [:km "open: Telegram"]] + [:i [:km "open: WhatsApp"]] + [:o [:km "open: Zoom"]] + [:p [:km "open: FaceTime"]] + [:d [:km "New Spark email"]] + [:f [:km "open: Spark"]] + [:g [:alfred "search contacts" "nikivi.search.content"]] + [:h [:km "Create new contact"]] + [:j [:km "w: Element"]] + [:k [:km "open: Telegram"]] + [:l [:km "open: Discord"]] + [:semicolon [:km "open: Slack"]] + [:c [:km "open: Contacts"]] + [:v [:km "open: Tweetbot"]] + [:b [:km "w: Twitter"]] + [:n [:km "New tweet"]] + [:m [:km "New tweet with current URL"]] + [:comma [:km "w: Twitter Search"]] + [:period [:km "open: Textual"]] + [:slash [:km "Search Tweetbot"]] + [:spacebar :!CSOz]]} ; Selection -> Twitter + {:des "xkey (spotify)" + :rules [:x-mode + [:o [:km "Paste current Spotify song link"]] + [:open_bracket [:alfred "twitter_search_current_track" "com.vdesabou.spotify.mini.player"]] + [:close_bracket [:alfred "add_current_track_to" "com.vdesabou.spotify.mini.player" "spotify:playlist:2N82DnDsPGMnpJhN8sVFJu"]] ; Add song to Bliss playlist + [:j [:alfred "show_alfred_playlist" "com.vdesabou.spotify.mini.player"]] + [:k [:alfred "show_current_track" "com.vdesabou.spotify.mini.player"]] + [:semicolon [:alfred "add_current_track_to_alfred_playlist_or_your_music" "com.vdesabou.spotify.mini.player"]] ; Add song to Likes playlist + [:quote [:alfred "add_current_track_to" "com.vdesabou.spotify.mini.player" "spotify:playlist:0ESjwZeTcHOWzY3FYO5zs5"]] ; Add song to Focus playlist + [:n [:alfred "add_current_track_to" "com.vdesabou.spotify.mini.player"]] + [:m [:alfred "remove_current_track_from" "com.vdesabou.spotify.mini.player"]] + ;[:comma [:alfred "youtube_search_current_track" "com.vdesabou.spotify.mini.player"]] ; TODO: twitter search + [:comma [:alfred "show_search_online" "com.vdesabou.spotify.mini.player"]] ; TODO: split up further into binds for direct searches of tracks/artists/all + [:period [:alfred "youtube_search_current_track" "com.vdesabou.spotify.mini.player"]] + [:slash [:alfred "reddit_search_current_track" "com.vdesabou.spotify.mini.player"]]]} + {:des "ckey (run + dots)" + :rules [:c-mode + [:tab [:km "proj: Learning"]] + [:u [:km "run: Rust"]] + [:i [:km "run: Julia"]] ; TODO: maybe use Pluto.jl notebook + [:o [:km "run: Deno"]] + [:a [:km "Clone repo to ~/clones and open with VS Code"]] + [:s [:km "Clone repo to ~/clones"]] + ;[:d [:km "Clone repo to ~/src/clones and open with VS Code"]] ; TODO: open with Xcode + [:j [:km "run: Bash"]] + [:k [:km "run: Go"]] + [:l [:km "run: Python"]] + [:semicolon [:alfred "search learning" "nikivi.private.directories"]] + [:quote [:km "proj: Go"]] + [:n [:km "run: Node"]] + [:m [:km "run: Swift"]] + [:period [:km "edit: Dotfiles Magefile"]] + [:spacebar :!CSOy]]} ; Selection -> Stack Overflow + {:des "vkey (media)" + :rules [:v-mode + [:q :illumination_decrement] + [:w :illumination_increment] + [:e [:km "Change macOS appearance (dark/light)"]] + [:i :display_brightness_decrement] + [:o :display_brightness_increment] + [:p [:alfred "play" "com.vdesabou.spotify.mini.player" "spotify:playlist:37i9dQZEVXcMHpP6EcIqNe"]] ; Discover Weekly + [:open_bracket [:alfred "play" "com.vdesabou.spotify.mini.player" "spotify:playlist:0ERn0U4qZIKC8Dy7RrMMsn"]] ; Likes + [:close_bracket [:alfred "play" "com.vdesabou.spotify.mini.player" "spotify:playlist:2N82DnDsPGMnpJhN8sVFJu"]] ; Bliss + ;[:a [:km "Repeat Spotify song"]] ; TODO: do in background + [:s [:km "Play/pause Spotify"]] + [:d :!CO9] ; Connect/disconnect AirPods + [:h :vk_consumer_previous] + [:j :mute] + [:k :vk_consumer_play] + [:l :vk_consumer_next] + [:semicolon [:alfred "spot_mini" "com.vdesabou.spotify.mini.player"]] + [:grave_accent_and_tilde [:alfred "artist_radio" "com.vdesabou.spotify.mini.player"]] + [:z [:alfred "song_radio" "com.vdesabou.spotify.mini.player"]] + [:b [:alfred "show_playlists" "com.vdesabou.spotify.mini.player"]] + [:n :volume_decrement] + [:m :volume_increment] + [:comma [:alfred "play" "com.vdesabou.spotify.mini.player" "spotify:playlist:0ESjwZeTcHOWzY3FYO5zs5"]] ; Focus + [:period [:alfred "play" "com.vdesabou.spotify.mini.player" "spotify:playlist:5QOChSDsvLTtBwXmIn8Pss"]] ; Ambient + [:slash [:alfred "play" "com.vdesabou.spotify.mini.player" "spotify:playlist:5fIL0WiQ79QtgsP4Y4L20V"]] ; Inspired + [:spacebar :!CSOv]]} ; Selection -> Google Images + {:des "bkey (break)" + :rules [:b-mode + [:9 [:alfred "search hn" "com.vitorgalvao.alfred.hackerboard"]] + [:0 [:km "w: HN (show new)"]] + [:q [:km "w: KM forum"]] + [:w [:km "w: Swift forum"]] + [:e [:km "w: Behance"]] + [:r [:km "w: Medium (network)"]] + [:t [:km "w: Medium (bookmarks)"]] + [:u [:km "w: Product Hunt"]] + [:i [:km "w: Dribble"]] + [:o [:km "w: Pinboard"]] + [:p [:km "w: Indie Hackers"]] + [:open_bracket [:km "w: Reddit Saved"]] + [:close_bracket [:km "w: Twitter Bookmarks"]] + [:a [:km "w: HN"]] + [:s [:km "w: Lobsters"]] + [:d [:km "w: Reddit"]] + [:f [:km "w: Reddit (all)"]] + [:g [:km "w: Alfred Forum"]] + [:h [:km "w: Product Hunt (new)"]] + [:j [:km "w: Reddit (new)"]] + [:k [:km "w: GitHub (front page)"]] + [:l [:km "w: Lobsters (new)"]] + [:semicolon [:km "w: HN (new)"]] + [:quote [:km "w: HckrNews"]] + [:z [:km "w: HN (comments)"]] + [:x [:km "w: Lobsters (comments)"]] + [:n [:km "w: Inoreader"]] + [:m [:km "w: Mastodon"]] + [:comma [:km "w: GitHub (trending)"]] + [:period [:km "w: YouTube (subs)"]] + [:slash [:km "w: GitHub (explore)"]] + [:spacebar :!TOSs]]} ; Selection -> DuckDuckGo + {:des "nkey (alfred)" + :rules [:n-mode + [:1 :!O1] + [:2 :!O2] + [:3 :!O3] + [:4 :!O4] + [:5 :!O5] + [:6 :!O6] + [:q [:alfred "search github" "nikivi.search.the.web"]] + [:w [:alfred "search twitter" "nikivi.search.the.web"]] + [:e [:alfred "search subs" "net.deanishe.alfred-reddit"]] + [:r [:alfred "search reddit" "nikivi.search.the.web"]] + [:t [:alfred "ssh" "net.deanishe.alfred-ssh"]] + [:a [:alfred "search shares" "nikivi.ask.create.share"]] + [:s [:alfred "search websites" "nikivi.web.searches"]] + [:d [:alfred "search stack overflow" "net.deanishe.alfred-stackoverflow"]] + ;[:d [:alfred "search packages" "com.sindresorhus.npms"]] + [:f [:alfred "search repos" "me.lachlan.githubjump"]] + [:g [:alfred "search godoc" "nikivi.search.the.web"]] + [:h [:alfred "search hn" "nikivi.search.the.web"]] + [:grave_accent_and_tilde [:alfred "search learn anything" "nikivi.learn.anything"]] + [:z [:alfred "search lobsters" "nikivi.search.the.web"]] + [:x [:alfred "search stack" "net.deanishe.alfred-stackoverflow"]] + [:c [:alfred "search wiki" "nikivi.mind"]] + [:v [:alfred "search links" "nikivi.mind"]] + ;[:v [:alfred "search pinboard" "nikivi.search.the.web"]] ; TODO: topics/search/more? + [:b [:alfred "search bookmarks" "net.deanishe.alfred.safari"]] + [:spacebar [:alfred "search history" "net.deanishe.alfred.safari"]]]} + {:des "mkey (dash)" + :rules [:m-mode + [:3 [:alfred "search alfred" "nikivi.utilities" "d3 "]] + [:q [:alfred "search alfred" "nikivi.utilities" "tldr "]] + [:w [:alfred "search alfred" "nikivi.utilities" "django "]] + [:e [:alfred "search alfred" "nikivi.utilities" "html "]] + [:r [:alfred "search alfred" "nikivi.utilities" "react "]] + [:t [:alfred "search alfred" "nikivi.utilities" "ts "]] + [:a [:alfred "search alfred" "nikivi.utilities" "man "]] + [:d [:alfred "search alfred" "nikivi.utilities" "docker "]] + [:f [:alfred "search alfred" "nikivi.utilities" "apple "]] + [:s [:alfred "search alfred" "nikivi.utilities" "lodash "]] + [:d [:alfred "search alfred" "nikivi.utilities" "node "]] + [:g [:alfred "search alfred" "nikivi.utilities" "godoc "]] + [:c [:alfred "search alfred" "nikivi.utilities" "css "]] + [:v [:alfred "search alfred" "nikivi.utilities" "vim "]] + [:b [:alfred "search alfred" "nikivi.utilities" "bash "]]]} + {:des "commakey (words)" + :rules [:comma-mode + [:w [:n :i :k :i :v :i]] ; -> nikivi + [:a [:n :i :k :i :t :a :v :o :l :o :b :o :e :v ]]]} ; -> nikitavoloboev + {:des "dotkey (1-3, q-u, caps, tab)" + :rules [:dot-mode + [:1 [:!Sc :l :o :s :e :spacebar :!S3]] ; -> Close # + [:2 [:!Sr :e :f :spacebar :!S3]] ; -> Ref # + [:3 [:!Sf :i :x :spacebar :!S3]] ; -> Fix # + [:q [:!Sa :spacebar :slash :slash :spacebar]] ; -> // (on same line) + [:w [:km "VSCode/XCode/Sublime comment on top of line"]] + [:e [:!St :!So :!Sd :!So :!Ssemicolon :spacebar]] ; -> TODO: + [:r [:km "VSCode/XCode/Sublime comment on top of line with TODO"]] + [:t [:!Sn :!So :!St :!Se :!Ssemicolon :spacebar]] ; -> NOTE: + [:y [:p :l :e :a :s :e :spacebar]] ; -> please + [:u [:u :p :d :a :t :e :spacebar]] ; -> update + [:caps_lock [:!Cf :!St :!So :!Sd :!So :!Ssemicolon :return_or_enter]] ; -> search TODO: in file + [:grave_accent_and_tilde [:!CSf :!St :!So :!Sd :!So :!Ssemicolon :return_or_enter]] ; -> search TODO: globally + [:left_gui [:!St :h :a :n :k :s :spacebar]] ; -> Thanks + [:spacebar [:!St :h :a :n :k :spacebar :y :o :u :period :spacebar]]]} ; -> Thank you. + {:des "jsdot" + :rules [:js-mode + [:tab [:km "w: MDN"]] + [:a [:c :o :n :s :o :l :e :period :l :o :g :!S9 :!S0 :left_arrow]] ; -> console.log() + ;[:a [:c :o :n :s :o :l :e :period :w :a :r :n :!S9 :!S0 :left_arrow]] ; -> console.warn() + [:s [:equal_sign :!Speriod :spacebar]] ; -> => + [:d [:r :e :t :u :r :n :spacebar]] ; -> return + [:f [:!Cf :c :o :n :s :o :l :e :period :l :o :g :!S9 :return_or_enter]] ; -> search console.log( in file + ;[:f [:!Cf :c :o :n :s :o :l :e :period :w :a :r :n :!S9 :return_or_enter]] ; -> search console.warn( in file + [:g [:right_arrow :spacebar :equal_sign :!Speriod :spacebar :!Sopen_bracket :return_or_enter]] ; -> => {} + [:j [:right_arrow :spacebar :equal_sign :spacebar]] ; -> = + [:k [:right_arrow :spacebar :!Sopen_bracket :return_or_enter]] ; -> { } + [:z [:spacebar :c :l :a :s :s :!Sn :a :m :e :equal_sign :!Squote :!Squote :left_arrow]] ; -> className="" + ;[:x [:t :a :c :h :y :o :n :s :spacebar]] ; -> tachyons + ;[:c [:spacebar :s :t :y :l :e :equal_sign :!Sopen_bracket :!Sopen_bracket :!Sclose_bracket :!Sclose_bracket :left_arrow :left_arrow]] ; -> style={{}} + [:c [:spacebar :s :t :y :l :e :equal_sign :!Sopen_bracket :!Sclose_bracket :left_arrow]] ; -> style={} + [:v [:j :a :v :a :s :c :r :i :p :t :spacebar]] ; -> javascript + [:b [:t :y :p :e :s :c :r :i :p :t :spacebar]]]} ; -> typescript + {:des "godot" + :rules[:go-mode + [:tab [:km "w: GoDoc"]] + [:a [:f :m :t :period :!Sp :r :i :n :t :l :n :!S9 :!S0 :left_arrow]] ; -> fmt.Println() + [:s [:!Ssemicolon :equal_sign :spacebar]] ; -> := + [:d [:r :e :t :u :r :n :spacebar]] ; -> return + [:f [:!Cf :f :m :t :period :p :return_or_enter]] ; -> search fmt.p in file + [:g [:i :f :spacebar :e :r :r :spacebar :!S1 :equal_sign :spacebar :n :i :l :spacebar :!Sopen_bracket :return_or_enter]] ; -> if err != nil {} + [:j [:grave_accent_and_tilde :j :s :o :n :!Ssemicolon :!Squote :!Squote :grave_accent_and_tilde :left_arrow :left_arrow]] ; -> `json:""` + [:z [:l :o :g :period :!Sp :r :i :n :t :l :n :!S9 :!S0 :left_arrow]] ; -> log.Println() + [:x [:f :m :t :period :!Sp :r :i :n :t :l :n :!S9 :!S0 :left_arrow :!Squote :hyphen :hyphen]] ; -> fmt.Println("--") + [:c [:!STsemicolon]] ; Selection -> Go Playground + [:v [:g :o :l :a :n :g :spacebar]] ; -> golang + [:b [:l :o :g :period :!Sf :a :t :a :l :!S9 :e :r :r :!S0]]]} ; -> log.Fatal(err) + {:des "pydot" + :rules[:py-mode + [:a [:p :r :i :n :t :!S9 :!S0 :left_arrow]] ; -> print() + [:s [:hyphen :!Speriod]] ; -> -> + [:d [:r :e :t :u :r :n :spacebar]] ; -> return + [:v [:p :y :t :h :o :n :spacebar]]]} ; -> python + {:des "swiftdot" + :rules[:swift-mode + [:a [:p :r :i :n :t :!S9 :!S0 :left_arrow]] ; -> print() + [:v [:s :w :i :f :t :spacebar]]]} ; -> swift + {:des "rustdot" + :rules[:rust-mode + [:a [:p :r :i :n :t :l :n :!S1 :!S9 :!S0 :left_arrow]] ; -> println!() + [:v [:r :u :s :t :spacebar]]]} ; -> rust + {:des "elixdot" + :rules[:elixir-mode + [:a [:!Si :!So :period :p :u :t :s :!S9 :!S0 :left_arrow]] ; -> IO.puts() + [:v [:e :l :i :x :i :r :spacebar]]]} ; -> elixir + {:des "spacekey (websites)" + :rules [:spacebar-mode + ;[:tab :!CO5] ; TODO: Configure ScreenFlow recording + [:q [:km "open: CleanShot"]] + [:w :!Cw] ;; Cmd+w + [:e :!TO2] ; Screenshot -> Clipboard + [:r :!COS4] ; Screenshot -> CleanShot (cloud) + ;[:r :!TOCp] ; Screenshot -> Imgur + ;[:r :!TOCp] ; Screenshot -> Imgur (auth) + [:t :!CS4] ; Screenshot -> ~/Desktop + ;[:i [:km "w: Google Sheets"]] + [:i [:km "w: GitHub (notifications)"]] ; TODO: jump between GitHub (issues/prs) + [:o [:km "w: Google Docs"]] + [:open_bracket [:km "w: Google Slides"]] + [:close_bracket [:km "w: Beautiful.ai"]] + [:caps_lock :!CTOSg] ; Loom recording + [:a :!TO4] ; CleanShot recording + ;[:s :!CO5] ; TODO: Pause/unpause ScreenFlow recording + [:f :!CO5] ; Start/stop ScreenFlow recording + [:h [:km "w: Roam Research"]] + [:j [:km "w: Excalidraw"]] + [:k [:km "w: GitHub"]] + [:l [:km "w: Localhost"]] + [:semicolon [:km "w: StackBlitz"]] + [:quote [:km "w: Learn Anything"]] + [:b [:km "w: Digital Ocean"]] + [:n [:km "w: GCP"]] + [:m [:km "w: AWS"]] + [:comma [:km "w: Diagrams"]] + [:period [:km "w: YouTube"]] + [:slash [:km "w: GitHub PR"]]]} ; TODO: +]} diff --git a/karabiner/karabiner.json b/karabiner/karabiner.json index d5f2603..0432716 100644 --- a/karabiner/karabiner.json +++ b/karabiner/karabiner.json @@ -1099,7 +1099,7 @@ "parameters": { "delay_milliseconds_before_open_device": 1000 }, - "selected": true, + "selected": false, "simple_modifications": [ { "from": { @@ -2385,6 +2385,44342 @@ "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\\.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\\.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": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search menu bar\" in workflow \"com.tedwise.menubarsearch\" with argument \"\"'" + } + ], + "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": "osascript -e 'tell application \"Alfred 4\" to run trigger \"search menu bar\" in workflow \"com.tedwise.menubarsearch\" with argument \"\"'" + }, + { + "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 diff --git a/zsh/env.zsh b/zsh/env.zsh index 86f872b..70df10a 100644 --- a/zsh/env.zsh +++ b/zsh/env.zsh @@ -15,6 +15,8 @@ fi export ANDROID_HOME="$HOME/Android/Sdk" export PATH="$PATH:$ANDROID_HOME/bin/" +export GOKU_EDN_CONFIG_FILE="$HOME/dotfiles/karabiner/karabiner.edn" + if [[ -d ~/.pyenv ]]; then # pyenv export PATH="$HOME/.pyenv/bin:$PATH"