diff options
author | Akshay <[email protected]> | 2022-08-06 06:47:25 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2022-08-06 06:47:25 +0100 |
commit | 402c0b82fa4d71b14315f628a1cec7d02eeb6997 (patch) | |
tree | a34e2be9cc637de12ecb016d7c5994f240357a2c | |
parent | 75a0b87460be1e97274a69239a8311dafa4a1608 (diff) |
embrace combos
-rw-r--r-- | config/cradio.keymap | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/config/cradio.keymap b/config/cradio.keymap index 4920fa1..8478336 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap | |||
@@ -41,13 +41,28 @@ | |||
41 | key-positions = <20 29>; | 41 | key-positions = <20 29>; |
42 | bindings = <&caps_word>; | 42 | bindings = <&caps_word>; |
43 | }; | 43 | }; |
44 | combo_esc { | ||
45 | timeout-ms = <100>; | ||
46 | key-positions = <10 19>; | ||
47 | bindings = <&kp ESC>; | ||
48 | }; | ||
49 | combo_minus { | ||
50 | timeout-ms = <100>; | ||
51 | key-positions = <6 7>; | ||
52 | bindings = <&kp MINUS>; | ||
53 | }; | ||
54 | combo_under { | ||
55 | timeout-ms = <100>; | ||
56 | key-positions = <26 27>; | ||
57 | bindings = <&kp UNDER>; | ||
58 | }; | ||
44 | }; | 59 | }; |
45 | 60 | ||
46 | keymap { | 61 | keymap { |
47 | compatible = "zmk,keymap"; | 62 | compatible = "zmk,keymap"; |
48 | default_layer { | 63 | default_layer { |
49 | bindings = < | 64 | bindings = < |
50 | &kp ESC &kp W &kp F &kp P &kp G &minunder &kp L &kp U &kp Y &kp SCLN | 65 | &kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp SCLN |
51 | &mt LGUI A &mt LALT R &mt LSHIFT S &mt LCTRL T &mt LG(LA(LS(LCTRL))) D &mt LG(LA(LS(LCTRL))) H &mt LCTRL N &mt RSHIFT E &mt LALT I &mt LGUI O | 66 | &mt LGUI A &mt LALT R &mt LSHIFT S &mt LCTRL T &mt LG(LA(LS(LCTRL))) D &mt LG(LA(LS(LCTRL))) H &mt LCTRL N &mt RSHIFT E &mt LALT I &mt LGUI O |
52 | &kp Z &kp X &kp C &kp V &kp B &kp K &kp M &kp CMMA &kp DOT &kp FSLH | 67 | &kp Z &kp X &kp C &kp V &kp B &kp K &kp M &kp CMMA &kp DOT &kp FSLH |
53 | < FUN TAB < NAV SPC < SYM RET < NUM BSPC | 68 | < FUN TAB < NAV SPC < SYM RET < NUM BSPC |
@@ -59,16 +74,16 @@ | |||
59 | &bt BT_CLR &trans &trans &bootloader &reset &trans &kp LBRC &kp RBRC &kp LPAR &kp RPAR | 74 | &bt BT_CLR &trans &trans &bootloader &reset &trans &kp LBRC &kp RBRC &kp LPAR &kp RPAR |
60 | &bt BT_SEL 0 &trans &trans &trans &trans &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans | 75 | &bt BT_SEL 0 &trans &trans &trans &trans &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans |
61 | &bt BT_SEL 1 &trans &trans &trans &trans &trans &kp LBKT &kp RBKT &trans &trans | 76 | &bt BT_SEL 1 &trans &trans &trans &trans &trans &kp LBKT &kp RBKT &trans &trans |
62 | &trans &trans &kp ESC &trans | 77 | &trans &trans &trans &trans |
63 | >; | 78 | >; |
64 | }; | 79 | }; |
65 | 80 | ||
66 | num_layer { | 81 | num_layer { |
67 | bindings = < | 82 | bindings = < |
68 | &kp Q &kp Z &trans &trans &trans &trans &trans &trans &trans &trans | 83 | &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans |
69 | &kp SQT &trans &trans &trans &kp KP_EQUAL &trans &trans &trans &trans &trans | 84 | &kp SQT &trans &trans &trans &kp KP_EQUAL &trans &trans &trans &trans &trans |
70 | &kp GRAVE &trans &trans &trans &kp BSLH &trans &trans &trans &trans &trans | 85 | &kp GRAVE &trans &trans &trans &kp BSLH &trans &trans &trans &trans &trans |
71 | &trans &kp J &trans &trans | 86 | &trans &trans &trans &trans |
72 | >; | 87 | >; |
73 | }; | 88 | }; |
74 | 89 | ||