Skip to content

Commit

Permalink
fix(sweep): homerow mods tweak, colon 1st semi 2nd
Browse files Browse the repository at this point in the history
  • Loading branch information
JJGadgets committed Mar 14, 2024
1 parent 56a18e8 commit e7a8570
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions config/cradio.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,16 @@

/ {
behaviors {
/omit-if-no-ref/ mmsc: mod_morph_delete_semicolon {
compatible = "zmk,behavior-mod-morph";
#binding-cells = <0>;
bindings = <&kp COLON>, <&kp SEMICOLON>;
mods = <(MOD_LSFT)>;
};
/omit-if-no-ref/ mmsa: mod_morph_delete_semicolon {
compatible = "zmk,behavior-mod-morph";
#binding-cells = <0>;
bindings = <&kp SEMICOLON>, <&kp APOSTROPHE>;
bindings = <&mmsc>, <&kp APOSTROPHE>;
mods = <(MOD_RALT)>;
};
/omit-if-no-ref/ mmat: mod_morph_a_tab {
Expand Down Expand Up @@ -97,8 +103,9 @@
/omit-if-no-ref/ hm: homerow_mods {
compatible = "zmk,behavior-hold-tap";
#binding-cells = <2>;
tapping-term-ms = <150>;
require-prior-idle-ms = <75>;
tapping-term-ms = <280>;
quick-tap-ms = <175>;
require-prior-idle-ms = <150>;
flavor = "tap-preferred";
bindings = <&kp>, <&kp>;
};
Expand All @@ -117,7 +124,7 @@
//│ Z │ X │ C │ V │ B │ │ K │ M │ ,< │ .> │ /? │
&ltz FN Z &hm LCTRL X &hm RALT C &hm RGUI V &lt NAVI B &kp K &hm LGUI M &hm LALT COMMA &hm LCTRL DOT &kp FSLH
//╰──────────┴──────────┴──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┴──────────┴──────────╯
&esc LCTRL ESC &mt LSHFT SPACE &mt RALT BSPC &mo NUM
&esc LCTRL ESC &mt LSHFT SPACE &hm RALT BSPC &mo NUM
// ╰──────────┴──────────╯ ╰──────────┴──────────╯
// TODO: repeat key on outer right thumb once used to rolling
// esc gets thumb cuz vim & as safe key to verify layer 0
Expand Down Expand Up @@ -264,6 +271,6 @@
ZMK_MACRO(kg, bindings = <&kp K &kp U &kp B &kp E &kp C &kp T &kp L &kp SPACE &kp G &kp E &kp T &kp SPACE &kp KP_MINUS &kp N &kp SPACE &kp LEFT &kp LEFT &kp LEFT &kp LEFT &kp SPACE &to 0>;) // kubectl get -n
ZMK_MACRO(ke, bindings = <&kp K &kp U &kp B &kp E &kp C &kp T &kp L &kp SPACE &kp E &kp D &kp I &kp T &kp SPACE &kp KP_MINUS &kp N &kp SPACE &kp LEFT &kp LEFT &kp LEFT &kp LEFT &kp SPACE &to 0>;) // kubectl edit -n
ZMK_MACRO(kx, bindings = <&kp K &kp U &kp B &kp E &kp C &kp T &kp L &kp SPACE &kp E &kp X &kp E &kp C &kp SPACE &kp KP_MINUS &kp I &kp T &kp SPACE &kp KP_MINUS &kp N &kp SPACE &kp KP_MINUS &kp KP_MINUS &kp SPACE &kp B &kp A &kp S &kp H &kp LEFT &kp LEFT &kp LEFT &kp LEFT &kp LEFT &kp LEFT &kp LEFT &kp LEFT &kp SPACE &to 0>;) // kubectl exec -it -n
ZMK_MACRO(tech, bindings = <&kp J &kp J &kp G &kp A &kp D &kp G &kp E &kp T &kp S &kp KP_DOT &kp T &kp E &kp C &kp H>;)
ZMK_MACRO(tech, bindings = <&kp J &kp J &kp G &kp A &kp D &kp G &kp E &kp T &kp S &kp KP_DOT &kp T &kp E &kp C &kp H &to 0>;)
};
};

0 comments on commit e7a8570

Please sign in to comment.