Skip to content

Commit

Permalink
Fixing &ltl
Browse files Browse the repository at this point in the history
  • Loading branch information
ldebritto committed Jan 27, 2025
1 parent 4043721 commit 758f9f5
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions config/cradio.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,8 @@
require-prior-idle-ms = <200>;
layers = <DEF SYM>;
};

toggle_num_word {
key-positions = <12 30>;
bindings = <&num_word NUM>; // requires auto-layer module (https://github.com/urob/zmk-auto-layer)
layers = <DEF MOU NUM>;
};

toggle_right_num_word {
toggle_num_word {
key-positions = <17 33>;
bindings = <&num_word NUM>; // requires auto-layer module (https://github.com/urob/zmk-auto-layer)
layers = <DEF MOU NUM>;
Expand Down Expand Up @@ -230,9 +224,9 @@

// Customized balanced layer-tap

hrll: hrll { // urob's config but for a layer-tap on left hand
ltl: layer_tap_left { // urob's logic but for a layer-tap on left hand
compatible = "zmk,behavior-hold-tap";
label = "HRML";
label = "LTL";
bindings = <&mo>, <&kp>;

#binding-cells = <2>;
Expand Down Expand Up @@ -300,7 +294,7 @@
bindings = <
&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P
&hrml LCTRL A &hrml LALT S &hrml LSHFT D &hrml LGUI F &hrml HYPER G &hrmr HYPER H &hrmr RGUI J &hrmr LSHFT K &hrmr RALT L &hrmr RCTRL SQT
&hrml GLOBE Z &kp X &kp C &hrll NUM V &kp B &kp N &kp M &kp COMMA &kp DOT &kp SEMI
&hrml GLOBE Z &kp X &kp C &ltl NUM V &kp B &kp N &kp M &kp COMMA &kp DOT &kp SEMI
&lc NAV &kp RSHFT &kp SPACE &lc SYM
>;
};
Expand All @@ -316,10 +310,10 @@

NUM { // keypad is almost mirrored to allow for use with and without a mouse
bindings = <
&trans &trans &trans &trans &trans &trans &kp N7 &kp N8 &kp N9 &kp COLON
&trans &trans &trans &trans &trans &kp MINUS &kp N4 &kp N5 &kp N6 &kp SLASH
&trans &trans &trans &trans &trans &kp COMMA &kp N1 &kp N2 &kp N3 &mt KP_DOT DOT
&lt NAV N0 &kp K_CANCEL &lt NAV SPACE &lt SYM N0
&trans &trans &trans &trans &trans &trans &kp N7 &kp N8 &kp N9 &kp COLON
&trans &trans &trans &trans &trans &kp MINUS &kp N4 &kp N5 &kp N6 &kp SLASH
&trans &trans &trans &trans &trans &kp COMMA &kp N1 &kp N2 &kp N3 &mt KP_DOT DOT
&lt NAV N0 &kp K_CANCEL &lt K_CANCEL SPACE &lt SYM N0
>;
};

Expand Down

0 comments on commit 758f9f5

Please sign in to comment.