Skip to content

Commit

Permalink
fix(sweep): re-add hm behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
JJGadgets authored Mar 10, 2024
1 parent a8edce1 commit 9b02da1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion config/cradio.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,14 @@
require-prior-idle-ms = <100>;
bindings = <&mo>, <&mmzd>;
};
/omit-if-no-ref/ hm: homerow_mods {
compatible = "zmk,behavior-hold-tap";
#binding-cells = <2>;
tapping-term-ms = <200>;
require-prior-idle-ms = <100>;
flavor = "tap-preferred";
bindings = <&kp>, <&kp>;
};
};
keymap {
compatible = "zmk,keymap";
Expand All @@ -100,7 +108,7 @@
&mmat &kp R &kp S &kp T &kp G &kp M &kp N &kp E &kp I &kp O
//├──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┤
//│ Z │ X │ C │ D │ V │ │ K │ H │ ,< │ .> │ /? │
&ltz FN Z &lt LCTRL X &lt RALT C &lt RGUI D &lt NAVI V &kp K &lt LGUI H &lt LALT COMMA &lt LCTRL DOT &kp FSLH
&ltz FN Z &hm LCTRL X &hm RALT C &hm RGUI D &lt NAVI V &kp K &hm LGUI H &hm LALT COMMA &hm LCTRL DOT &kp FSLH
//╰──────────┴──────────┴──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┴──────────┴──────────╯
&esc LCTRL ESC &mt LSHFT SPACE &rm RALT R &lt2 NUM NUM // esc gets thumb because of vim and as a safe key to verify layer 0
// ╰──────────┴──────────╯ ╰──────────┴──────────╯
Expand Down

0 comments on commit 9b02da1

Please sign in to comment.