Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
622 lines (616 sloc) 37.5 KB
{:profiles
{:Goku {:default true :sim 50 :delay 500 :alone 500 :held 500}}
:tos {:same_wind_app {:key :grave_accent_and_tilde :modi [:left_command] :lazy true}
:prev_app {:key :tab :modi [:left_command] :lazy true}
:left_paren {:key :9 :modi [:left_shift] :lazy true}
:right_paren {:key :0 :modi [:left_shift] :lazy true}
:home_dir [{:key :grave_accent_and_tilde :modi [:left_shift] :lazy true}
{:key :slash}]
:regex_match_any [{:key :period}
{:key :8 :modi [:left_shift] :lazy true}]
:select_cn {:select_input_source
{:input_mode_id ""
:input_source_id "com.apple.keylayout.US"
:language "en"}}
:select_abc {:select_input_source
{:input_source_id "^com\\.apple\\.keylayout\\.ABC$"}}}
:modifiers {:ro :right_option}
:templates {:launch "osascript -e 'tell application \"Alfred 4\" to run trigger \"launch%s\" in workflow \"yqrashawn.workflow.launcher\" with argument \"\"'"
:alf "open /Applications/Alfred\\ 4.app && osascript -e 'tell application \"Alfred 4\" to run trigger \"%s\" in workflow \"%s\"'"
:km "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"%s\"'"
:kb-maestro "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"%s\"'"
:open "open \"%s\""
:opena "open -a \"%s\""
:show "osascript -e 'set appName to \"%s\"\nset startIt to false\ntell application \"System Events\"\n if not (exists process appName) then\n set startIt to true\n else\n set frontmost of process appName to true\n end if\nend tell\nif startIt then\n tell application appName to activate\nend if'\n"
:toggle "osascript -e 'set appName to \"%s\"\nset startIt to false\ntell application \"System Events\"\n if not (exists process appName) then\n set startIt to true\n else if frontmost of process appName then\n set visible of process appName to false\n else\n set frontmost of process appName to true\n end if\nend tell\nif startIt then\n tell application appName to activate\nend if'"
:type "osascript -e 'tell application \"System Events\" to keystroke \"%s\" as text'"
;; :focus "/usr/local/bin/yabai -m display --focus \"%s\" & /usr/local/bin/yabai -m space --focus \"%s\""
}
:layers {:tab-mode {:key :tab
:afterup [{:set ["yabai-move-mode" 0]}
{:set ["yabai-scale-mode" 0]}
{:set ["spec-mode" 0]}]
:condi [:!comma-mode :!period-mode]}
:yabai-move-mode {:key :f :condi :tab-mode}
:yabai-scale-mode {:key :c :condi :tab-mode}
:spec-mode {:key :s :condi :tab-mode}
;; :yabai-insert-mode {:key :i :condi :tab-mode}
:emacs-windmove-mode {:key :q :condi [:Emacs :!comma-mode :!period-mode]}
:emacs-windresize-mode {:key :c :condi :emacs-windmove-mode}
:emacs-bufmove-mode {:key :f :condi :emacs-windmove-mode}
:period-mode {:key :period :afterup {:set ["period-comma-mode" 0]} :condi [:!emacs-s-mode :!tmux-windmove-mode :!k2-mode]}
:comma-mode {:key :comma :condi [:!emacs-s-mode :!tmux-windmove-mode]}
:tmux-windmove-mode {:key :q :condi [:Terminals :!comma-mode :!period-mode]}
:tmux-windresize-mode {:key :c :condi :tmux-windmove-mode}
:k2-mode {:key :2 :condi [:!tab-mode :!tmux-windmove-mode]}}
:simlayers {:test-mode {:key :9}
:contexts-f-mode {:key :f}
:emacs-m-mode {:key :m :condi :Emacs}
:emacs-v-mode {:key :v :condi :Emacs}
:emacs-special-s-mode {:key :s :condi :Emacs :afterup {:key :return_or_enter}}
:emacs-s-mode {:key :s :condi :Emacs}
:vscode-s-mode {:key :s :condi :VSCode}
:browser-s-mode {:key :s :condi :Browsers}
:emacs-s-mode-terminal {:key :s :condi :Terminals}
:mouse_keys_mode_v4 {:key :a :afterup {:set ["mouse_keys_mode_v4_scroll" 0]}}
:vi-mode {:key :d}
:vi-visual-mode {:key :v :condi :!vim-mode-disabled-application}
:launch-mode {:key :w}
;; :q-mode {:key :q :condi [:!comma-mode :!period-mode]}
:alfred-mode {:key :z}
:finder-alfred-mode {:key :z :condi :Finder}
:browsers-alfred-mode {:key :z :condi :Browsers}}
:main [{:des "mouse motion to scroll"
:rules [{:type :mouse_motion_to_scroll :from {:modifiers {:mandatory [:left_command :left_shift]}} :options {:momentum_scroll_enabled true}}]}
#_{:des "double press and hold key down in simlayer"
:rules [[:j "say 'j double press'" [["test-mode-j-dbpress-mode" 1]]]
[:j ["say 'j press down'" ["test-mode-j-dbpress-mode" 1]] nil {:delayed {:canceled ["test-mode-j-dbpress-mode" 0]}}
:invoked ["test-mode-j-dbpress-mode" 0]
:held "say 'j held down'"]]}
#_{:des "switch input method"
:rules [{:from {:key_code :left_shift}
:to [{:key_code :left_shift}]
:to_if_alone [{:select_input_source {:input_source_id "^com\\.apple\\.keylayout\\.ABC$"}}]
:type :basic}
{:from {:key_code :right_shift}
:to [{:key_code :right_shift}]
:to_if_alone [{:select_input_source {:input_source_id "^com\\.apple\\.inputmethod\\.SCIM\\.ITABC$"}}]
:type :basic}
]}
{:des "resize window, remap Rectangle"
:rules [:k2-mode
[:return_or_enter :!COc]
[:spacebar :!COf]
[:y :!CTleft_arrow] ;; upper left
[:n :!CSTleft_arrow] ;; lower left
[:o :!CTright_arrow] ;; upper right
[:period :!CTSright_arrow] ;; lower right
[:h :!COleft_arrow] ;; left half
[:l :!COright_arrow] ;; right half
[:k :!COup_arrow] ;; top half
[:j :!COdown_arrow]
[:hyphen :!TOShyphen]
[:equal_sign :!TOSequal_sign]
[:open_bracket :!COTopen_bracket]
[:close_bracket :!COTclose_bracket]]}
{:des "vscode"
:rules [:VSCode
[:##left_command :left_command nil {:alone [:!CSp ["vsc-m-x-on" 1]]}]
:vsc-m-x-on
[:!Tl [:return_or_enter ["in-alfred" 0]]]
[:!Tj :down_arrow]
[:!Tk :up_arrow]
[:escape [:escape ["vsc-m-x-on" 0]]]
[:##left_control :left_control nil {:alone [:escape ["vsc-m-x-on" 0]]}]
[:return_or_enter [:return_or_enter ["vsc-m-x-on" 0]]]
:vscode-s-mode
[:j :!CSopen_bracket]
[:k :!CSclose_bracket]]}
{:des "global C-h to backspace"
:rules [[:!Th :delete_or_backspace nil {:params {:alone 500 :held 500}}]]}
{:des "contexts"
:rules [[[:m :l] [:f16 ["in-contexts" 1]]]
[:semicolon :right_option nil {:alone :semicolon}]
[:escape [:escape ["in-contexts" 0]] ["in-contexts" 1]]
[{:pkey :button1} [{:pkey :button1} ["in-contexts" 0]] ["in-contexts" 1]]
[:##left_control :left_control ["in-contexts" 1] {:alone [:escape ["in-contexts" 0]]}]
[:##caps_lock [:left_control] ["in-contexts" 1] {:alone [:escape ["in-contexts" 0]]}]
[:return_or_enter [:return_or_enter ["in-contexts" 0]] ["in-contexts" 1]]
[:!Tm [:return_or_enter ["in-contexts" 0]] ["in-contexts" 1]]
:contexts-f-mode
[:j [["in-contexts" 1] :f16] ["in-contexts" 0]]
[:k [["in-contexts" 1] :f16] ["in-contexts" 0]]
[:j :down_arrow ["in-contexts" 1]]
[:k :up_arrow ["in-contexts" 1]]
[:e [:f :e]]
[:l [:return_or_enter ["in-contexts" 0]] ["in-contexts" 1]]]}
{:des "in-alfred"
:rules [:in-alfred
[:!Tw :!Odelete_or_backspace]
[:!Ty :!Cv]
[:!Tslash :!Cz]
[:escape [:escape ["in-alfred" 0]]]
[:return_or_enter [:return_or_enter ["in-alfred" 0]]]
[:##left_control :left_control nil {:alone [:escape ["in-alfred" 0]]}]
[:##caps_lock [:left_control] nil {:alone [:escape ["in-alfred" 0]]}]
[:!Ctab [:!Ctab ["in-alfred" 0]]]
[:!Cright_command [:!Ctab ["in-alfred" 0]]]
[:!Tsemicolon [:!Treturn_or_enter ["in-alfred" 0]]]
[:!Tl [:return_or_enter ["in-alfred" 0]]]
[:!Tj :down_arrow]
[:!Tk :up_arrow]
[:!Oh :left_arrow]
[:!Oj :down_arrow]
[:!Ok :up_arrow]
[:!Ol :right_arrow]
[:!OSh :!OSleft_arrow]
[:!OSj :!OSdown_arrow]
[:!OSk :!OSup_arrow]
[:!OSl :!OSright_arrow]]}
{:des "s-mode in emacs"
:rules [:emacs-s-mode
[:j :!!j]
[:k :!!k]
[:h :!!h]
[:l :!!l]
[:n [:!Tx :!T9 {:key :n :repeat false}]]
[:p [:!Tx :!T9 {:key :p :repeat false}]]
[:comma [:!Tx :!T8 :open_bracket]]
[:period [:!Tx :!T8 :close_bracket]]
[:delete_or_backspace [:!Tx :!T9 :!Sk]]
[:open_bracket [:!Tx :!T9 :open_bracket]]
[:close_bracket [:!Tx :!T9 :close_bracket]]
:emacs-s-mode-terminal
[:k [:!Tx :!T9 {:key :k :repeat false}]]
[:j [:!Tx :!T9 {:key :j :repeat false}]]
[:h [:!Tx :!T9 {:key :h :repeat false}]]
[:l [:!Tx :!T9 {:key :l :repeat false}]]
[:n [:!Tx :!T9 {:key :n :repeat false}]]
[:p [:!Tx :!T9 {:key :p :repeat false}]]]}
{:des "Emacs m/v select company candidates"
:rules [:emacs-m-mode
[:a [:!Tx :!T6 :1]]
[:s [:!Tx :!T6 :2]]
[:d [:!Tx :!T6 :3]]
[:f [:!Tx :!T6 :4]]
[:g [:!Tx :!T6 :5]]
[:h [:!Tx :!T6 :6]]
[:left_shift [:!Tx :!T6 :q]]
[:z [:!Tx :!T6 :z]]
[:x [:!Tx :!T6 :x]]
[:c [:!Tx :!T6 :c]]
[:left_shift [:!Tx :!T6 :q]]
:emacs-v-mode
[:right_shift [:!Tx :!T6 :w]]
[:g [:!Tx :!T6 :5]]
[:h [:!Tx :!T6 :6]]
[:j [:!Tx :!T6 :7]]
[:k [:!Tx :!T6 :8]]
[:l [:!Tx :!T6 :9]]
[:semicolon [:!Tx :!T6 :0]]]}
{:des "Emacs switch buffer"
:rules [:Emacs
[:tab :!Ttab :period-mode]
[:tab :!TStab :comma-mode]]}
{:des "s-mode in chrome"
:rules [:browser-s-mode
[:j :!CSopen_bracket]
[:k :!CSclose_bracket]
[:h :!Copen_bracket]
[:l :!Cclose_bracket]]}
{:des "Vi Mode [D as Trigger Key]"
:rules [:vi-mode
[:##j :down_arrow]
[:##k :up_arrow]
[:##h :left_arrow]
[:##l :right_arrow]
[:##b :!Oleft_arrow]
[:##w :!Oright_arrow]
[:##0 :!Ta]
[:##4 :!Te]]}
{:des "Vi Visual Mode"
:rules [:vi-visual-mode
[:##j :!Sdown_arrow]
[:##k :!Sup_arrow]
[:##h :!Sleft_arrow]
[:##l :!Sright_arrow]
[:##b :!SOleft_arrow]
[:##e :!SOright_arrow]
[:##0 :!SCleft_arrow]
[:##4 :!SCright_arrow]
[:##open_bracket :!SOup_arrow]
[:##close_bracket :!SOdown_arrow]]}
{:des "launcher mode"
:rules [:launch-mode
[:j [:open "/Applications/Alacritty.app"]]
;; [:j [:launch "iTerm"]]
;; [:k [:open "/Applications/Emacs.app"]]
[:k [:show "Emacs"]]
;; [:k [:launch "Emacs"]]
[:quote [:open "/Applications/ClickUp.app"]]
[:t [:open "/Applications/Todoist.app"]]
[:p [:open "/Applications/Figma.app"]]
[:l [:open "/Applications/Google Chrome.app/"] :!Chromes]
[:l :same_wind_app :Chromes]
[:comma [:open "/Applications/Firefox Developer Edition.app/"] :!Firefoxes]
[:comma :same_wind_app :Firefoxes]
[:n [:open "/Applications/Notion.app"]]
;; [:m [:open "/Applications/Mail.app"]]
[:m [:launch "Mail"]]
;; [:v [:open "/Applications/WeChat.app"]]
[:v [:launch "WeChat"]]
[:q [:open "/Applications/Karabiner-Elements.app"]]
[:f [:open "/System/Library/CoreServices/Finder.app"]]
[:9 [:open "/Applications/PDF Expert.app"]]
[:h [:open "/Applications/Slack.app"]]
[:r [:opena "Roam Research"]]
[:period [:open "/Applications/SetApp/Paw.app"]]
[:equal_sign [:open "/Applications/Textual.app"]]
[:8 [:open "/Applications/Karabiner-EventViewer.app"]]
[:b [:open "/Applications/Bee.app"]]
[:c [:open "/Applications/Visual Studio Code.app"]]
[:e [:w :e]]
[:hyphen [{:key :m :modi :ro}
{:key :a :modi :ro}
{:key :i :modi :ro}
{:key :n :modi :ro}
{:key :r :modi :ro}
{:key :e :modi :ro}
{:key :b :modi :ro}
{:key :l :modi :ro}]]
[:d [{:key :c :modi :ro}
{:key :h :modi :ro}
{:key :r :modi :ro}
{:key :o :modi :ro}
{:key :m :modi :ro}
{:key :i :modi :ro}
{:key :u :modi :ro}
{:key :m :modi :ro}
{:key :n :modi :ro}
{:key :d :modi :ro}
{:key :b :modi :ro}
:return_or_enter]]]}
{:des "caps_lock"
:rules [[:##caps_lock :left_control nil {:alone :escape}]]}
{:des "return_or_enter to control when pressed with other keys"
:rules [[:##return_or_enter :left_control nil {:alone :return_or_enter}]]}
{:des "HHKB, FILCO MINILA Change left control to esc if alone"
:rules [[:##left_control :left_control [:hhkb-bt :hhkb :hhkb-tmk :filco-minila] {:alone :escape}]]}
{:des "FILCO MINILA Change left_alt to left_command"
:rules [:filco-minila
[:##grave_accent_and_tilde :backslash]
[:##backslash :grave_accent_and_tilde]
[:##left_option :left_command]
[:##right_option :right_command nil {:alone [:!Ctab]}]
[:##left_command :left_option]
[:##application :right_option nil {:alone ["osascript ~/Dropbox/sync/Automator/switch-to-second-previous-app.scpt"]}]]}
{:des "Change right_command to command-tab when used alone"
:rules [[:right_command :right_command nil {:alone :prev_app}]
[:application :right_command nil {:alone :prev_app}]]}
{:des "Change left_option to f18 when used alone"
:rules [[:left_option :left_option nil {:alone [:f18]}]]}
{: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 ["command-q" 0]}}]]}
{:des "Change right_option to switch to second recent application when used alone"
:rules [[:right_option :left_option nil {:alone ["osascript ~/Dropbox/sync/Automator/switch-to-second-previous-app.scpt"]}]]}
{:des "some simultaneous keys"
:rules [[[:h :l] [[:alf "helpSearch" "com.tedwise.menubarsearch"] ["in-alfred" 1]]]
[[:j :l] [:f19 ["in-alfred" 1]]]
[[:l :n] [[:alf "winswitch" "ru.mandrigin.alfred.sww"] ["in-alfred" 1]]]]}
{:des "alfred mode"
:rules [[:l :!COi :browsers-alfred-mode]
[:9 [:!Cl [:type "chrome://extensions/?id=pkjpciobmjhfjaddkiehmknaclajlkgf"]] :browsers-alfred-mode]
[:0 [:!Cl [:type "chrome-extension://pkjpciobmjhfjaddkiehmknaclajlkgf/home.html"]] :browsers-alfred-mode]
[:l :!CTslash :finder-alfred-mode]
[:!CTk [:!CTk ["in-alfred" 1]]]
[:!Tg [:escape ["in-alfred" 0]] ["in-alfred" 1]]
:alfred-mode
[:i [:z :i]]
[:h [[:alf "search repos" "me.lachlan.githubjump"] ["in-alfred" 1]]]
[:j [:alf "searchGithub" "nikivi.search-the-web"]]
[:##return_or_enter [["in-alfred" 1] [:alf "web searches" "nikivi.web.searches"]]]
[:x [:alf "killProcess" "com.ngreenstein.alfred-process-killer"]]
[:u [:alf "repos" "net.deanishe.alfred-git-repos"]]
;; [:k [[:alf "history" "net.deanishe.alfred.safari"] ["in-alfred" 1]]]
[:k [[:alf "chromeHistory" "thomasupton.chrome-history"] ["in-alfred" 1]]]
[:m [:alf "tab" "net.deanishe.alfred.safari"]]
[:y [:!!grave_accent_and_tilde ["in-alfred" 1]]]
[:o :!CTOS0]
[:0 [:alf "pasteBack" "yqrashawn.com.ewe"]]
[:semicolon [:alf "localport" "in.fech.localport"]]
[:q "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"Quick Macro 1\"'"]
;; [:close_bracket :!CTOSclose_bracket]
[:close_bracket :!Cf3]
[:hyphen :!!hyphen]
[:spacebar "~/Dropbox/sync/pullover/pullover-start-or-finish"]
#_[:right_command :!!3]]}
{:des "q"
:rules [:emacs-bufmove-mode
[:h [:!Tx :9 :w :h]]
[:j [:!Tx :9 :w :j]]
[:k [:!Tx :9 :w :k]]
[:l [:!Tx :9 :w :l]]
:emacs-windresize-mode
[:h [:!Tx :8 :w :h]]
[:j [:!Tx :8 :w :j]]
[:k [:!Tx :8 :w :k]]
[:l [:!Tx :8 :w :l]]
:emacs-windmove-mode
[:i [:q :i]]
[:h [:!CTO7 :h]]
[:j [:!CTO7 :j]]
[:k [:!CTO7 :k]]
[:l [:!CTO7 :l]]
[:u [:!CTO7 :u]]
[:r [:!CTO7 :r]]
[:v [:!Tx :3]]
[:s [:!Tx :2]]
[:m [:!Tx :1]]
[:b [:!Tx :0]]
:tmux-windresize-mode
[:h [:!Tq :!Sh]] ;; resize window
[:j [:!Tq :!Sj]] ;; resize window
[:k [:!Tq :!Sk]] ;; resize window
[:l [:!Tq :!Sl]] ;; resize window
:tmux-windmove-mode
;; [:comma [:!Tq :comma]] ;; rename tmux pane
[:m [:!Tq :z]] ;; size window
[:f [:!Tq :slash]] ;; find and switch window
[:w [:!Tq :w]] ;; list and switch window/pane
[:b [:!Tq :x]] ;; kill pane
[:open_bracket [:!Tq :open_bracket]] ;; esc
[:h [:!Tq :h]] ;; focuse window
[:j [:!Tq :j]] ;; focuse window
[:k [:!Tq :k]] ;; focuse window
[:l [:!Tq :l]] ;; focuse window
[:v [:!Tq :!Shyphen]] ;; v split
[:s [:!Tq :hyphen]] ;; s split
[:return_or_enter [:!Tq :c]] ;; new session
[:n [:!Tq :!Tl]]
[:p [:!Tq :!Th]]
[:comma [:!Tq :!Th]]
[:period [:!Tq :!Tl]]
[:1 [:!Tq :1]]
[:2 [:!Tq :2]]
[:3 [:!Tq :3]]
[:4 [:!Tq :4]]
[:5 [:!Tq :5]]]}
{:des "yabai mode"
:rules [
;; :yabai-insert-mode
;; [:h "/usr/local/bin/yabai -m window --insert west"]
;; [:j "/usr/local/bin/yabai -m window --insert south"]
;; [:k "/usr/local/bin/yabai -m window --insert north"]
;; [:l "/usr/local/bin/yabai -m window --insert east"]
;; move windows
:yabai-move-mode
[:h "/usr/local/bin/yabai -m window --warp west"]
[:j "/usr/local/bin/yabai -m window --warp south"]
[:k "/usr/local/bin/yabai -m window --warp north"]
[:l "/usr/local/bin/yabai -m window --warp east"]
;; scale windows
:yabai-scale-mode
[:h "~/local/bin/yabai-resize left"]
[:j "~/local/bin/yabai-resize down"]
[:k "~/local/bin/yabai-resize up"]
[:l "~/local/bin/yabai-resize right"]
:tab-mode
[:grave_accent_and_tilde "launchctl kickstart -k \"gui/${UID}/homebrew.mxcl.yabai\""]
;; focus mode
[:h "/usr/local/bin/yabai -m window --focus west"]
[:j "/usr/local/bin/yabai -m window --focus south"]
[:k "/usr/local/bin/yabai -m window --focus north"]
[:l "/usr/local/bin/yabai -m window --focus east"]
[:n "/usr/local/bin/yabai -m window --focus next"]
[:p "/usr/local/bin/yabai -m window --focus prev"]
;; yabai workspace
;; [:1 "/usr/local/bin/yabai -m space --focus 1"]
;; [:2 "/usr/local/bin/yabai -m space --focus 2"]
;; [:3 "/usr/local/bin/yabai -m space --focus 3"]
;; [:4 "/usr/local/bin/yabai -m space --focus 4"]
[:a "/usr/local/bin/yabai -m window --toggle float"]
;; [:0 "/usr/local/bin/yabai -m window --toggle sticky"]
[:0 "/usr/local/bin/yabai -m window --toggle zoom-parent"]
[:spacebar "/usr/local/bin/yabai -m window --toggle zoom-fullscreen"]
[:b "/usr/local/bin/yabai -m window --layout bsp"]
[:m "/usr/local/bin/yabai -m window --toggle zoom-parent"]
[:x "/usr/local/bin/yabai -m window --close"]
[:delete_or_backspace "/usr/local/bin/yabai -m window --close"]
[:open_bracket "/usr/local/bin/yabai -m window --space prev"]
[:close_bracket "/usr/local/bin/yabai -m window --space next"]]}
{:des "totalspace 2"
:rules [
;; move windows
:yabai-move-mode
[:i :!STOleft_arrow]
[:o :!STOright_arrow]
:tab-mode
;; focus mode
[:i :!OSleft_arrow]
[:o :!OSright_arrow]]}
{:des "comma mode"
:rules [:comma-mode
[:a :open_bracket]
[:s :close_bracket]
[:d :!S7]
[:f :!S8]
[:q :!Shyphen]
[:w :!Sequal_sign]
[:e :!S5]
[:r :!S6]]}
{:des "period mode"
:rules [:period-mode
[:comma ["period-comma-mode" 1] nil {:alone :comma :afterup ["period-comma-mode" 0]}]
[:a :home_dir]
[:s :regex_match_any]
[:d :left_paren]
[:f :right_paren]
[:q :hyphen]
[:w :equal_sign]
[:e :!Sopen_bracket]
[:r :!Sclose_bracket]]}
{:des "chrome debug mode"
:rules [:!Debuggers
[:f10 :mute]
[:condi :Debuggers :tab-mode]
;; step in
[:q :!Csemicolon]
;; step out
[:w :!CSsemicolon]
;; step over
[:e :f10]
;; step
[:r :f9]
;; de/activate breakpoints
[:t :!Cf8]
;; pause/resume
[:1 :!Cbackslash]
;; continue to here
[:2 "~/local/bin/cliclick kd:ctrl c:+0,+0 ku:ctrl t:continue kp:return"]]}
{:des "Mouse button"
:rules [[{:pkey :button5} :mission_control]
[{:pkey :button4} [{:pkey :button1} {:pkey :button1} :!!grave_accent_and_tilde]]]}
{:des "Mouse Keys Mode v4 (rev 1)"
:rules [[:##j {:mkey {:vwheel 32}} [["mouse_keys_mode_v4_scroll" 1]] ["mouse_keys_mode_v4" 1]]
[:##h {:mkey {:hwheel 32}} [["mouse_keys_mode_v4_scroll" 1]] ["mouse_keys_mode_v4" 1]]
[:##k {:mkey {:vwheel -32}} [["mouse_keys_mode_v4_scroll" 1]] ["mouse_keys_mode_v4" 1]]
[:##l {:mkey {:hwheel -32}} [["mouse_keys_mode_v4_scroll" 1]] ["mouse_keys_mode_v4" 1]]
:mouse_keys_mode_v4
[:##j {:mkey {:y 3072}}]
[:##k {:mkey {:y -3072}}]
[:##h {:mkey {:x -3072}}]
[:##l {:mkey {:x 3072}}]
[:##v {:pkey :button1}]
[:##b {:pkey :button3}]
[:##n {:pkey :button2}]
[:##s ["mouse_keys_mode_v4_scroll" 1] nil {:afterup ["mouse_keys_mode_v4_scroll" 0]}]
[:##f {:mkey {:speed 0.5}}]]}
{:des "REBL key bindings"
:rules [:REBL
[:l :!Cright_arrow]
[:h :!Cleft_arrow]
[:!Sa :!CSleft_arrow]
[:b :!Tb]
[:v :!Tv]
[:k :!Tup_arrow]
[:j :!Tdown_arrow]]}
{:des "Emacs key bindings [control+keys] (rev 10)"
:rules [[:!T#Sy :!Cv :!Emacs]
:!emacs-mode-disable-app
[:!Ob :!Oleft_arrow]
[:!Of :!Oright_arrow]
[:!Ow :!Cc]
[:!T#Od :delete_forward :!Firefoxes]
[:!T#Oh :delete_or_backspace]
[:!T#SOw :!Odelete_or_backspace]
[:!T#Oi :tab]
[:!T#Oopen_bracket :escape]
[:!T#OSm :return_or_enter]
[:!T#OSb :left_arrow]
[:!T#OSf :right_arrow]
[:!T#OSb :left_arrow]
[:!T#OSn :down_arrow]
[:!T#OSp :up_arrow]
[:!T#Sv :page_down]
[:!T#Sa :!Cleft_arrow]
[:!T#Se :!Cright_arrow]]}
{:des "misc"
;; https://superuser.com/a/324267
:rules [#_[:!CSl [:!Cl :j :a :v :a :s :c :r :i :p :t :!Ssemicolon :return_or_enter] :Chromes]
[:!CSl [:f6] :Firefoxes]]}]
:devices {:macbook-internal [{:product_id 631 :vendor_id 1452}]
:uhk-keyboard [{:product_id 24866 :vendor_id 7504}]
:filco-minila [{:product_id 34050 :vendor_id 2652}]
:hhkb-tmk [{:vendor_id 65261 :product_id 51966}]
:hhkb-bt [{:vendor_id 1278 :product_id 514}]
:hhkb [{:vendor_id 2131 :product_id 256}]
:kensington-tb [{:vendor_id 1149 :product_id 32792}]}
:applications {:emacs-mode-disable-app ["^org\\.gnu\\.Emacs$",
"^org\\.gnu\\.AquamacsEmacs$",
"^org\\.gnu\\.Aquamacs$",
"^org\\.pqrs\\.unknownapp.conkeror$",
"^com\\.microsoft\\.rdc$",
"^com\\.microsoft\\.rdc\\.mac$",
"^com\\.microsoft\\.rdc\\.macos$",
"^com\\.microsoft\\.rdc\\.osx\\.beta$",
"^net\\.sf\\.cord$",
"^com\\.thinomenon\\.RemoteDesktopConnection$",
"^com\\.itap-mobile\\.qmote$",
"^com\\.nulana\\.remotixmac$",
"^com\\.p5sys\\.jump\\.mac\\.viewer$",
"^com\\.p5sys\\.jump\\.mac\\.viewer\\.web$",
"^com\\.teamviewer\\.TeamViewer$",
"^com\\.vmware\\.horizon$",
"^com\\.2X\\.Client\\.Mac$",
"^com\\.apple\\.Terminal$",
"^com\\.googlecode\\.iterm2$",
"^co\\.zeit\\.hyperterm$",
"^co\\.zeit\\.hyper$",
"^io\\.alacritty$",
"^net\\.kovidgoyal\\.kitty$",
"^org\\.vim\\.",
"^com\\.qvacua\\.VimR$",
"^com\\.vmware\\.fusion$",
"^com\\.vmware\\.horizon$",
"^com\\.vmware\\.view$",
"^com\\.parallels\\.desktop$",
"^com\\.parallels\\.vm$",
"^com\\.parallels\\.desktop\\.console$",
"^org\\.virtualbox\\.app\\.VirtualBoxVM$",
"^com\\.vmware\\.proxyApp\\.",
"^com\\.parallels\\.winapp\\.",
"^org\\.x\\.X11$",
"^com\\.apple\\.x11$",
"^org\\.macosforge\\.xquartz\\.X11$",
"^org\\.macports\\.X11$",
"^com\\.sublimetext\\.",
"^com\\.microsoft\\.VSCode(Insiders)?$"]
:VSCode ["^com\\.microsoft\\.VSCode(Insiders)?$"]
:Emacs ["^org\\.gnu\\.Emacs$"
"^org\\.gnu\\.AquamacsEmacs$"
"^org\\.gnu\\.Aquamacs$"]
:Chromes ["^com\\.google\\.Chrome$", "^org\\.chromium\\.Chromium$", "^com\\.google\\.Chrome\\.canary$"]
:Firefoxes ["^org\\.mozilla\\.firefox$"
"^org\\.mozilla\\.firefoxdeveloperedition$"]
:Terminals ["^com\\.apple\\.Terminal$"
"^com\\.googlecode\\.iterm2$"
"^co\\.zeit\\.hyperterm$"
"^co\\.zeit\\.hyper$"
"^io\\.alacritty$"
"^net\\.kovidgoyal\\.kitty$"]
:vim-mode-disabled-application ["^com\\.apple\\.Terminal$"
"^com\\.googlecode\\.iterm2$"
"^co\\.zeit\\.hyperterm$"
"^co\\.zeit\\.hyper$"
"^io\\.alacritty$"
"^net\\.kovidgoyal\\.kitty$"
"^org\\.vim\\."
"^com\\.qvacua\\.VimR$"]
:Finder ["^com\\.apple\\.finder$"]
:Debuggers ["^org\\.mozilla\\.firefox$"
"^org\\.mozilla\\.firefoxdeveloperedition$"
"^com\\.google\\.Chrome$"
"^org\\.chromium\\.Chromium$"
"^com\\.google\\.Chrome\\.canary$"
"^com\\.apple\\.Safari$"
"^com\\.microsoft\\.VSCode(Insiders)?$"]
:Alfred ["^com\\.runningwithcrayons\\.Alfred$"]
:Todoist ["^com\\.todoist\\.mac\\.Todoist$"]
:Browsers ["^org\\.mozilla\\.firefox$"
"^org\\.mozilla\\.firefoxdeveloperedition$"
"^com\\.google\\.Chrome$"
"^org\\.chromium\\.Chromium$"
"^com\\.google\\.Chrome\\.canary$"
"^com\\.apple\\.Safari$"]
:wechat ["^com\\.tencent\\.xinWeChat$"]
:REBL ["^net\\.java\\.openjdk\\.cmd$"]
:2Do ["^com\\.guidedways\\.TodoMac$"]}
:input-sources {:squirrel {:input_mode_id "^com\\.googlecode\\.rimeime\\.inputmethod\\.Squirrel$"
:input_source_id "^com\\.googlecode\\.rimeime\\.inputmethod\\.Squirrel\\.Rime$"}
:us {:input_mode_id ""
:input_source_id "com.apple.keylayout.US"
:language "en"}
:abc {:input_source_id "^com\\.apple\\.keylayout\\.ABC$"}
:cn {:input_source_id "^com\\.apple\\.inputmethod\\.SCIM\\.ITABC$"}}
:simlayer-threshold 210}
You can’t perform that action at this time.