Skip to content

Commit

Permalink
Improvements to &num_word layer
Browse files Browse the repository at this point in the history
  • Loading branch information
ldebritto committed Oct 27, 2024
1 parent 09e680a commit a634dd9
Showing 1 changed file with 24 additions and 31 deletions.
55 changes: 24 additions & 31 deletions config/cradio.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,20 @@

sticky_sym_layer_for_one_handed_typing {
key-positions = <32 33>;
bindings = <&sl 4>;
layers = <0>;
bindings = <&sl SYM>;
layers = <DEF>;
require-prior-idle-ms = <200>;
};

toggle_mod_taps {
key-positions = <14 15>;
bindings = <&tog 0>;
bindings = <&tog NMT>;
require-prior-idle-ms = <200>;
};

toggle_nav_layer_for_extended_edits_or_mouse_usage {
key-positions = <30 31>;
bindings = <&tog 3>;
key-positions = <24 30>;
bindings = <&tog NAV>;
require-prior-idle-ms = <200>;
};

Expand All @@ -70,55 +70,48 @@
toggle_caps_word {
key-positions = <12 17>;
bindings = <&caps_word>;
layers = <0>;
layers = <DEF>;
require-prior-idle-ms = <200>;
};

toggle_aoe {
key-positions = <20 21 22>;
bindings = <&tog 0>;
layers = <0>;
bindings = <&tog AOE>;
layers = <DEF AOE>;
require-prior-idle-ms = <200>;
};

sys_bootloader {
key-positions = <20 21>;
bindings = <&bootloader>;
layers = <5>;
layers = <FUN>;
require-prior-idle-ms = <200>;
};

sys_connect_to_bt0 {
key-positions = <3 4>;
bindings = <&bt BT_SEL 0>;
layers = <5>;
layers = <FUN>;
};

sys_connect_to_bt1 {
key-positions = <13 14>;
bindings = <&bt BT_SEL 1>;
layers = <5>;
layers = <FUN>;
};

sys_connect_to_bt2 {
key-positions = <23 24>;
bindings = <&bt BT_SEL 2>;
layers = <5>;
layers = <FUN>;
};

sys_clear_current_bluetooth_profile {
key-positions = <28 29>;
bindings = <&bt BT_CLR>;
layers = <5>;
require-prior-idle-ms = <200>;
layers = <FUN>;
};

toggle_mouse {
bindings = <&tog 6>;
key-positions = <16 17 18>;
require-prior-idle-ms = <200>;
layers = <0 6 1>;
};
};

behaviors {
Expand Down Expand Up @@ -251,25 +244,25 @@
&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 &kp G &kp H &hrmr RGUI J &hrmr LSHFT K &hrmr RALT L &hrmr RCTRL SQT
&hrml GLOBE Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp SEMI
&lc 3 &kp RSHFT &kp SPACE &lc 4
&lc NAV &kp RSHFT &kp SPACE &lc SYM
>;
};

NMT {
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 SQT
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp SEMI
&lc 3 &kp RSHFT &kp SPACE &lc 4
&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 SQT
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp SEMI
&lc NAV &kp RSHFT &kp SPACE &lc SYM
>;
};

NUM {
bindings = <
&sl 4 &kp N7 &kp N8 &kp N9 &kp COLON &trans &trans &trans &trans &trans
&kp N0 &kp N4 &kp N5 &kp N6 &sl 4 &trans &trans &trans &trans &trans
&kp COMMA &kp N1 &kp N2 &kp N3 &kp DOT &trans &trans &trans &trans &trans
&trans &trans &trans &trans
&kp TAB &kp N7 &kp N8 &kp N9 &kp COLON &none &none &none &none &none
&kp N0 &kp N4 &kp N5 &kp N6 &sl SYM &none &none &none &none &none
&kp COMMA &kp N1 &kp N2 &kp N3 &kp DOT &none &none &none &none &none
&mt NAV K_CANCEL &kp RET &none &mt SYM K_CANCEL
>;
};

Expand Down Expand Up @@ -305,7 +298,7 @@
// &kp ESC &kp TAB &kp LC(LS(TAB)) &kp LC(TAB) &kp RBKT &msc SCROLL_UP &msc SCROLL_LEFT &mmv MOVE_UP &msc SCROLL_RIGHT &kp BSPC
// &kp LCTRL &kp LALT &kp LSHFT &kp LGUI &kp LBKT &msc SCROLL_DOWN &mmv MOVE_LEFT &mmv MOVE_DOWN &mmv MOVE_RIGHT &kp RET
// &kp LG(Z) &kp LG(X) &kp LG(C) &kp LG(V) &kp GLOBE &kp F18 &mkp MB3 &mkp MB4 &mkp MB5 &kp DEL
// &tog 6 &mt LSHFT SPACE &mkp MB1 &mkp MB2
// &tog MOU &mt LSHFT SPACE &mkp MB1 &mkp MB2
// >;
// };

Expand All @@ -314,7 +307,7 @@
&kp Q &kp W &kp E &kp R &kp T &trans &trans &trans &trans &trans
&mt LCTRL A &mt LALT S &mt LSHFT D &mt LCTRL F &kp G &trans &trans &trans &trans &trans
&lt 2 Z &kp X &kp C &kp V &kp B &trans &trans &trans &trans &trans
&lt 8 H &lt 9 DOT &trans &trans
&lt AGS H &lt ABS DOT &trans &trans
>;
};

Expand Down

0 comments on commit a634dd9

Please sign in to comment.