Skip to content

Commit

Permalink
Try urob's home row
Browse files Browse the repository at this point in the history
  • Loading branch information
rbelem committed Jun 28, 2024
1 parent a1dddfd commit 9f8a782
Showing 1 changed file with 39 additions and 7 deletions.
46 changes: 39 additions & 7 deletions config/cradio.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,17 @@
#define SHORTCUT 11
#define MOUSE 12


/* Homerow mods */

#define KEYS_L \
0 1 2 3 4 \
10 11 12 13 14 \
20 21 22 23 24
#define KEYS_R \
5 6 7 8 9 \
15 16 17 18 19 \
25 26 27 28 29
#define THUMBS 30 31 32 33
/* Global settings */

#define QUICK_TAP_MS 175
Expand Down Expand Up @@ -109,6 +119,28 @@
quick-tap-ms = <75>;
bindings = <&kp>, <&csl>;
};
hml: home_row_left {
compatible = "zmk,behavior-hold-tap";
#binding-cells = <2>
flavor = "balanced";
tapping-term-ms = <280>;
quick-tap-ms = <QUICK_TAP_MS>;
require-prior-idle-ms = <150>;
bindings = <&kp>, <&kp>;
hold-trigger-key-positions = <KEYS_R THUMBS>;
hold-trigger-on-release;
};
hmr: home_row_right {
compatible = "zmk,behavior-hold-tap";
#binding-cells = <2>
flavor = "balanced";
tapping-term-ms = <280>;
quick-tap-ms = <QUICK_TAP_MS>;
require-prior-idle-ms = <150>;
bindings = <&kp>, <&kp>;
hold-trigger-key-positions = <KEYS_L THUMBS>;
hold-trigger-on-release;
};
td: tap_dance {
compatible = "zmk,behavior-tap-dance";
#binding-cells = <0>;
Expand Down Expand Up @@ -165,18 +197,18 @@

qwerty_layer {
bindings = <
&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P
&kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp BR_TILDE
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp BR_SEMI
&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P
&kp A &hml LGUI S &hml LALT D &hml LCTL F &kp G &kp H &hmr RCTL J &hmr RALT K &hmr RGUI L &kp BR_TILDE
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp BR_SEMI
&td &mt LSHFT SPACE &mt LSHFT SPACE &td
>;
};

qwerty_mirror {
bindings = <
&kp P &kp O &kp I &kp U &kp Y &kp T &kp R &kp E &kp W &kp Q
&kp BR_TILDE &kp L &kp K &kp J &kp H &kp G &kp F &kp D &kp S &kp A
&kp BR_SEMI &kp DOT &kp COMMA &kp M &kp N &kp B &kp V &kp C &kp X &kp Z
&kp P &kp O &kp I &kp U &kp Y &kp T &kp R &kp E &kp W &kp Q
&kp BR_TILDE &hml LGUI L &hml LALT K &hml LCTL J &kp H &kp G &hmr RCTL F &hmr RALT D &hmr RGUI S &kp A
&kp BR_SEMI &kp DOT &kp COMMA &kp M &kp N &kp B &kp V &kp C &kp X &kp Z
&trans &trans &trans &trans
>;
};
Expand Down

0 comments on commit 9f8a782

Please sign in to comment.