Skip to content

Instantly share code, notes, and snippets.

@johnlindquist
Created October 16, 2019 15:04
Show Gist options
  • Save johnlindquist/406798033d2914e78b57673aa8c2e8d8 to your computer and use it in GitHub Desktop.
Save johnlindquist/406798033d2914e78b57673aa8c2e8d8 to your computer and use it in GitHub Desktop.
{:layers {:homerow {:key :caps_lock :alone {:key :escape}}
:symbols {:key :tab}}
:main [{:des "multitouch"
:rules [:multitouch_extension_finger_count_total
[:spacebar :button1]
[:f :button1]
[:d :button2]
[:s :button3]
[:z [:button1 :!Cz]]
[:x [:button1 :!Cx]]
[:c [:button1 :!Cc]]
[:v [:button1 :!Cv]]]}
{:des "homerow"
:rules [:homerow
[:##f :left_option]
[:##d :left_shift]
[:##s :left_command]
[:##n :delete_or_backspace]
[:##period :delete_forward]
[:##y :home]
[:##o :end]
[:##h :left_arrow]
[:##j :down_arrow]
[:##k :up_arrow]
[:##l :right_arrow]]}
{:des "symbols"
:rules [:symbols
[:##u :!S9]
[:##i :!S0]
[:##o :equal_sign]
[:##p :!Speriod]
[:##j :!Sopen_bracket]
[:##k :!Sclose_bracket]
[:##l :open_bracket]
[:##semicolon :close_bracket]]}
{:des "macros"
:rules [:homerow [:spacebar [:spacebar :equal_sign :spacebar]]
:symbols [:q [:equal_sign :!Squote :!Squote]]
[:w [:equal_sign :!Sopen_bracket :!Sclose_bracket]]]}
{:des "taps"
:rules [[:##left_shift :left_shift nil {:alone :delete_or_backspace}]
[:right_shift :right_shift nil {:alone :delete_forward}]
[:z :left_shift nil {:alone :z}]
[:slash :right_command nil {:alone :slash}]]}
{:des "shortcuts"
:rules [[:!Fj :!TSCright_arrow] ;expand selection
[:!Fk :!TSCleft_arrow] ;shrink selection
:homerow [:semicolon :!Tspacebar] [:return_or_enter :!Creturn_or_enter]]}
{:des "apps"
:rules [:homerow [:a :!Ospacebar]]}
{:des "colemak"
:rules [[:##e :f]
[:##r :p]
[:##t :g]
[:##y :j]
[:##u :l]
[:##i :u]
[:##o :y]
[:##p :semicolon]
[:##s :r]
[:##d :s]
[:##f :t]
[:##g :d]
[:##j :n]
[:##k :e]
[:##l :i]
[:##semicolon :o]
[:##n :k]]}]}
;; ! | means mandatory
;; # | means optional
;; 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
;; !! | mandatory command + control + optional + shift (hyper)
;; ## | optional any
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment