Skip to content

Commit 4d28145

Browse files
authored
Update keymap with new behaviors and bindings
Added new behaviors and updated key bindings in the keymap.
1 parent dcc7c9d commit 4d28145

1 file changed

Lines changed: 69 additions & 3 deletions

File tree

config/charybdis.keymap

Lines changed: 69 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include <behaviors.dtsi>
22
#include <dt-bindings/zmk/keys.h>
33
#include <dt-bindings/zmk/pointing.h>
4+
45
/ {
56
macros {
67
qu: qu {
@@ -10,49 +11,59 @@
1011
label = "QU";
1112
};
1213
};
14+
1315
behaviors {
1416
hm: homerow_mods {
1517
compatible = "zmk,behavior-hold-tap";
1618
label = "HM";
1719
bindings = <&kp>, <&kp>;
20+
1821
#binding-cells = <2>;
1922
tapping-term-ms = <280>;
2023
quick-tap-ms = <250>;
2124
require-prior-idle-ms = <150>;
2225
flavor = "tap-preferred";
2326
};
27+
2428
tmo: thumb_momentary {
2529
compatible = "zmk,behavior-hold-tap";
2630
label = "TMO";
2731
bindings = <&mo>, <&kp>;
32+
2833
#binding-cells = <2>;
2934
tapping-term-ms = <200>;
3035
quick-tap-ms = <175>;
3136
require-prior-idle-ms = <150>;
3237
flavor = "tap-preferred";
3338
};
39+
3440
bspc_del: backspace_delete {
3541
compatible = "zmk,behavior-hold-tap";
3642
label = "BSPC_DEL";
3743
bindings = <&kp>, <&kp>;
44+
3845
#binding-cells = <2>;
3946
tapping-term-ms = <200>;
4047
quick-tap-ms = <175>;
4148
flavor = "tap-preferred";
4249
};
50+
4351
lingerq: linger_q {
4452
compatible = "zmk,behavior-hold-tap";
4553
label = "LINGERQ";
4654
bindings = <&kp>, <&qu>;
55+
4756
#binding-cells = <2>;
4857
tapping-term-ms = <100>;
4958
flavor = "tap-preferred";
5059
};
5160
};
61+
5262
keymap {
5363
compatible = "zmk,keymap";
64+
5465
baz {
55-
bindings =
66+
bindings = <
5667
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12
5768
&kp INS &kp F &kp B &kp K &kp L &kp J &kp EQUAL &kp W &kp SQT &kp SLASH &kp DOT &kp PG_UP
5869
&kp K_PLAY_PAUSE &hm LGUI S &hm LALT N &hm LCTRL T &hm LSHIFT H &kp V &kp G &hm RSHFT C &hm RCTRL A &hm RALT E &hm RGUI I &kp SQT
@@ -61,8 +72,9 @@
6172
&mkp MB1 &mkp MB2 &kp ENTER
6273
>;
6374
};
75+
6476
sym {
65-
bindings =
77+
bindings = <
6678
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
6779
&trans &trans &trans &trans &trans &trans &kp TILDE &kp GRAVE &kp DOUBLE_QUOTES &kp BSLH &kp COLON &trans
6880
&trans &kp LBRC &kp LPAR &kp RPAR &kp RBRC &kp UNDER &kp PIPE &kp QMARK &kp EXCL &kp EQUAL &kp AMPS &trans
@@ -71,8 +83,9 @@
7183
&trans &trans &trans
7284
>;
7385
};
86+
7487
num {
75-
bindings =
88+
bindings = <
7689
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
7790
&trans &trans &kp HOME &kp UP &kp END &trans &kp STAR &kp N7 &kp N8 &kp N9 &kp PLUS &trans
7891
&trans &trans &kp LEFT &kp DOWN &kp RIGHT &trans &kp SLASH &kp N4 &kp N5 &kp N6 &kp MINUS &trans
@@ -81,5 +94,58 @@
8194
&trans &trans &trans
8295
>;
8396
};
97+
98+
/* layer_2 {
99+
bindings = <
100+
&none &none &none &none &none &none &kp N1 &none &none &none &none &to 0
101+
&none &none &none &none &none &none &none &none &rgb_ug RGB_BRD &rgb_ug RGB_BRI &rgb_ug RGB_EFF &rgb_ug RGB_TOG
102+
&none &none &none &none &none &none &none &mkp LCLK &mkp RCLK &none &none &none
103+
&none &none &none &none &bt BT_NXT &bt BT_CLR &none &none &none &none &none &none
104+
&none &none &none &none &none
105+
&none &none &none
106+
>;
107+
108+
109+
};
110+
111+
Mouse {
112+
bindings = <
113+
&none &none &none &none &none &none &none &none &none &none &none &none
114+
&none &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 3 &none &bt BT_CLR &bt BT_CLR &none &bt BT_SEL 2 &bt BT_SEL 1 &bt BT_SEL 0 &none
115+
&none &trans &trans &mkp MCLK &trans &none &none &trans &mkp MCLK &trans &trans &none
116+
&bootloader &trans &mkp RCLK &mo 4 &mkp LCLK &mo 5 &mo 5 &mkp LCLK &mo 4 &mkp RCLK &trans &bootloader
117+
&mo 5 &mkp LCLK &mkp RCLK &mkp RCLK &mkp LCLK
118+
&none &trans &trans
119+
>;
120+
121+
122+
};
123+
124+
layer_4 {
125+
bindings = <
126+
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
127+
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
128+
&trans &trans &trans &mkp MCLK &trans &trans &trans &trans &mkp MCLK &trans &trans &trans
129+
&trans &trans &mkp RCLK &trans &mkp LCLK &trans &trans &mkp LCLK &trans &mkp RCLK &trans &trans
130+
&trans &mkp LCLK &mkp RCLK &mkp RCLK &mkp LCLK
131+
&trans &trans &trans
132+
>;
133+
134+
135+
136+
};
137+
138+
layer_5 {
139+
bindings = <
140+
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
141+
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
142+
&trans &trans &trans &mkp MCLK &trans &trans &trans &trans &mkp MCLK &trans &trans &trans
143+
&trans &trans &mkp RCLK &trans &mkp LCLK &trans &trans &mkp LCLK &trans &mkp RCLK &trans &trans
144+
&trans &mkp LCLK &mkp RCLK &mkp RCLK &mkp LCLK
145+
&trans &trans &trans
146+
>;
147+
148+
149+
};*/
84150
};
85151
};

0 commit comments

Comments
 (0)