Skip to content

Commit 6f9c77f

Browse files
remove: underscore combo
Closes #3
1 parent 2ac3611 commit 6f9c77f

File tree

1 file changed

+64
-93
lines changed

1 file changed

+64
-93
lines changed

config/glove80.keymap

+64-93
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
#include <behaviors.dtsi>
99
#include <dt-bindings/zmk/bt.h>
10-
#include <dt-bindings/zmk/ext_power.h>
1110
#include <dt-bindings/zmk/keys.h>
1211
#include <dt-bindings/zmk/outputs.h>
1312
#include <dt-bindings/zmk/rgb.h>
@@ -18,224 +17,200 @@
1817
compatible = "zmk,behavior-tap-dance";
1918
label = "SYMBOLS";
2019
#binding-cells = <0>;
21-
bindings =
22-
<&mo 2>,
23-
<&to 2>;
20+
bindings = <&mo 2>, <&to 2>;
2421
};
22+
2523
nav: nav {
2624
compatible = "zmk,behavior-tap-dance";
2725
label = "NAV";
2826
#binding-cells = <0>;
29-
bindings =
30-
<&mo 3>,
31-
<&to 3>;
27+
bindings = <&mo 3>, <&to 3>;
3228
};
29+
3330
smart_lshift: smart_lshift {
3431
compatible = "zmk,behavior-tap-dance";
3532
label = "SMART_LSHIFT";
3633
#binding-cells = <0>;
37-
bindings =
38-
<&kp LSHFT>,
39-
<&caps_word>;
34+
bindings = <&kp LSHFT>, <&caps_word>;
4035
};
36+
4137
smart_rshift: smart_rshift {
4238
compatible = "zmk,behavior-tap-dance";
4339
label = "SMART_RSHIFT";
4440
#binding-cells = <0>;
45-
bindings =
46-
<&kp RSHFT>,
47-
<&caps_word>;
41+
bindings = <&kp RSHFT>, <&caps_word>;
4842
};
43+
4944
quotes: quotes {
5045
compatible = "zmk,behavior-mod-morph";
5146
label = "QUOTES";
52-
bindings =
53-
<&kp SINGLE_QUOTE>,
54-
<&kp AT>;
47+
bindings = <&kp SINGLE_QUOTE>, <&kp AT>;
5548

5649
#binding-cells = <0>;
5750
mods = <(MOD_LSFT|MOD_RSFT)>;
5851
};
52+
5953
question_excl: question_excl {
6054
compatible = "zmk,behavior-mod-morph";
6155
label = "QUESTION_EXCL";
62-
bindings =
63-
<&kp QUESTION>,
64-
<&kp EXCL>;
56+
bindings = <&kp QUESTION>, <&kp EXCL>;
6557

6658
#binding-cells = <0>;
6759
mods = <(MOD_LSFT|MOD_RSFT)>;
6860
};
61+
6962
dash_slash: dash_slash {
7063
compatible = "zmk,behavior-mod-morph";
7164
label = "DASH_SLASH";
72-
bindings =
73-
<&kp MINUS>,
74-
<&kp SLASH>;
65+
bindings = <&kp MINUS>, <&kp SLASH>;
7566

7667
#binding-cells = <0>;
7768
mods = <(MOD_LSFT|MOD_RSFT)>;
7869
};
70+
7971
dot_colon: dot_colon {
8072
compatible = "zmk,behavior-mod-morph";
8173
label = "DOT_COLON";
82-
bindings =
83-
<&kp DOT>,
84-
<&kp COLON>;
74+
bindings = <&kp DOT>, <&kp COLON>;
8575

8676
#binding-cells = <0>;
8777
mods = <(MOD_LSFT|MOD_RSFT)>;
8878
};
79+
8980
comma_semi: comma_semi {
9081
compatible = "zmk,behavior-mod-morph";
9182
label = "COMMA_SEMI";
92-
bindings =
93-
<&kp COMMA>,
94-
<&kp SEMI>;
83+
bindings = <&kp COMMA>, <&kp SEMI>;
9584

9685
#binding-cells = <0>;
9786
mods = <(MOD_LSFT|MOD_RSFT)>;
9887
};
88+
9989
under_backsl: under_backsl {
10090
compatible = "zmk,behavior-mod-morph";
10191
label = "UNDER_BACKSL";
102-
bindings =
103-
<&kp UNDERSCORE>,
104-
<&kp NON_US_BACKSLASH>;
92+
bindings = <&kp UNDERSCORE>, <&kp NON_US_BACKSLASH>;
10593

10694
#binding-cells = <0>;
10795
mods = <(MOD_RSFT|MOD_LSFT)>;
10896
};
97+
10998
zero_f10: zero_f10 {
11099
compatible = "zmk,behavior-mod-morph";
111100
label = "ZERO_F10";
112-
bindings =
113-
<&kp N0>,
114-
<&kp F10>;
101+
bindings = <&kp N0>, <&kp F10>;
115102

116103
#binding-cells = <0>;
117104
mods = <(MOD_RSFT|MOD_LSFT)>;
118105
};
106+
119107
one_f1: one_f1 {
120108
compatible = "zmk,behavior-mod-morph";
121109
label = "ONE_F1";
122-
bindings =
123-
<&kp N1>,
124-
<&kp F1>;
110+
bindings = <&kp N1>, <&kp F1>;
125111

126112
#binding-cells = <0>;
127113
mods = <(MOD_RSFT|MOD_LSFT)>;
128114
};
115+
129116
two_f2: two_f2 {
130117
compatible = "zmk,behavior-mod-morph";
131118
label = "TWO_F2";
132-
bindings =
133-
<&kp N2>,
134-
<&kp F2>;
119+
bindings = <&kp N2>, <&kp F2>;
135120

136121
#binding-cells = <0>;
137122
mods = <(MOD_LSFT|MOD_RSFT)>;
138123
};
124+
139125
three_f3: three_f3 {
140126
compatible = "zmk,behavior-mod-morph";
141127
label = "THREE_F3";
142-
bindings =
143-
<&kp N3>,
144-
<&kp F3>;
128+
bindings = <&kp N3>, <&kp F3>;
145129

146130
#binding-cells = <0>;
147131
mods = <(MOD_LSFT|MOD_RSFT)>;
148132
};
133+
149134
four_f4: four_f4 {
150135
compatible = "zmk,behavior-mod-morph";
151136
label = "FOUR_F4";
152-
bindings =
153-
<&kp N4>,
154-
<&kp F4>;
137+
bindings = <&kp N4>, <&kp F4>;
155138

156139
#binding-cells = <0>;
157140
mods = <(MOD_LSFT|MOD_RSFT)>;
158141
};
142+
159143
five_f5: five_f5 {
160144
compatible = "zmk,behavior-mod-morph";
161145
label = "FIVE_F5";
162-
bindings =
163-
<&kp N5>,
164-
<&kp F5>;
146+
bindings = <&kp N5>, <&kp F5>;
165147

166148
#binding-cells = <0>;
167149
mods = <(MOD_LSFT|MOD_RSFT)>;
168150
};
151+
169152
six_f6: six_f6 {
170153
compatible = "zmk,behavior-mod-morph";
171154
label = "SIX_F6";
172-
bindings =
173-
<&kp N6>,
174-
<&kp F6>;
155+
bindings = <&kp N6>, <&kp F6>;
175156

176157
#binding-cells = <0>;
177158
mods = <(MOD_LSFT|MOD_RSFT)>;
178159
};
160+
179161
sev_f7: sev_f7 {
180162
compatible = "zmk,behavior-mod-morph";
181163
label = "SEV_F7";
182-
bindings =
183-
<&kp N7>,
184-
<&kp F7>;
164+
bindings = <&kp N7>, <&kp F7>;
185165

186166
#binding-cells = <0>;
187167
mods = <(MOD_LSFT|MOD_RSFT)>;
188168
};
169+
189170
eight_f8: eight_f8 {
190171
compatible = "zmk,behavior-mod-morph";
191172
label = "EIGHT_F8";
192-
bindings =
193-
<&kp N8>,
194-
<&kp F8>;
173+
bindings = <&kp N8>, <&kp F8>;
195174

196175
#binding-cells = <0>;
197176
mods = <(MOD_LSFT|MOD_RSFT)>;
198177
};
178+
199179
nine_f9: nine_f9 {
200180
compatible = "zmk,behavior-mod-morph";
201181
label = "NINE_F9";
202-
bindings =
203-
<&kp N9>,
204-
<&kp F9>;
182+
bindings = <&kp N9>, <&kp F9>;
205183

206184
#binding-cells = <0>;
207185
mods = <(MOD_LSFT|MOD_RSFT)>;
208186
};
187+
209188
mult_f11: mult_f11 {
210189
compatible = "zmk,behavior-mod-morph";
211190
label = "MULT_F11";
212-
bindings =
213-
<&kp KP_MULTIPLY>,
214-
<&kp F11>;
191+
bindings = <&kp KP_MULTIPLY>, <&kp F11>;
215192

216193
#binding-cells = <0>;
217194
mods = <(MOD_LSFT|MOD_RSFT)>;
218195
};
196+
219197
eq_f12: eq_f12 {
220198
compatible = "zmk,behavior-mod-morph";
221199
label = "EQ_F12";
222-
bindings =
223-
<&kp KP_EQUAL>,
224-
<&kp F12>;
200+
bindings = <&kp KP_EQUAL>, <&kp F12>;
225201

226202
#binding-cells = <0>;
227203
mods = <(MOD_LSFT|MOD_RSFT)>;
228204
};
229-
magic: magic_hold_tap {
230-
compatible = "zmk,behavior-hold-tap";
231-
label = "MAGIC_HOLD_TAP";
232-
#binding-cells = <2>;
233-
flavor = "tap-preferred";
234-
tapping-term-ms = <200>;
235-
bindings =
236-
<&mo>,
237-
<&rgb_ug_status_macro>;
238-
};
205+
206+
magic: magic_hold_tap {
207+
compatible = "zmk,behavior-hold-tap";
208+
label = "MAGIC_HOLD_TAP";
209+
#binding-cells = <2>;
210+
flavor = "tap-preferred";
211+
tapping-term-ms = <200>;
212+
bindings = <&mo>, <&rgb_ug_status_macro>;
213+
};
239214
};
240215
};
241216

@@ -247,24 +222,28 @@
247222
#binding-cells = <0>;
248223
bindings = <&rgb_ug RGB_STATUS>;
249224
};
225+
250226
bt_0: bt_profile_macro_0 {
251227
label = "BT_0";
252228
compatible = "zmk,behavior-macro";
253229
#binding-cells = <0>;
254230
bindings = <&out OUT_BLE &bt BT_SEL 0>;
255231
};
232+
256233
bt_1: bt_profile_macro_1 {
257234
label = "BT_1";
258235
compatible = "zmk,behavior-macro";
259236
#binding-cells = <0>;
260237
bindings = <&out OUT_BLE &bt BT_SEL 1>;
261238
};
239+
262240
bt_2: bt_profile_macro_2 {
263241
label = "BT_2";
264242
compatible = "zmk,behavior-macro";
265243
#binding-cells = <0>;
266244
bindings = <&out OUT_BLE &bt BT_SEL 2>;
267245
};
246+
268247
bt_3: bt_profile_macro_3 {
269248
label = "BT_3";
270249
compatible = "zmk,behavior-macro";
@@ -283,12 +262,6 @@
283262
key-positions = <52 57>;
284263
layers = <0>;
285264
};
286-
287-
underscore {
288-
bindings = <&kp UNDERSCORE>;
289-
key-positions = <69 74>;
290-
layers = <0>;
291-
};
292265
};
293266

294267
keymap {
@@ -329,12 +302,12 @@
329302

330303
navigation_layer {
331304
bindings = <
332-
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
333-
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
334-
&trans &kp KP_PLUS &sev_f7 &eight_f8 &nine_f9 &mult_f11 &kp PG_UP &kp LC(LEFT) &kp UP_ARROW &kp LC(RIGHT) &kp PG_DN &trans
335-
&trans &zero_f10 &four_f4 &five_f5 &six_f6 &eq_f12 &kp HOME &kp LEFT_ARROW &kp DOWN_ARROW &kp RIGHT_ARROW &kp END &trans
336-
&trans &kp KP_MINUS &one_f1 &two_f2 &three_f3 &kp KP_SLASH &trans &tog 3 &trans &trans &tog 3 &trans &kp DELETE &kp C_VOLUME_DOWN &kp C_MUTE &kp C_VOLUME_UP &kp PRINTSCREEN &trans
337-
&trans &kp RA(N4) &kp DOLLAR &kp POUND &kp KP_DOT &trans &kp ESCAPE &trans &trans &kp RETURN &trans &kp C_PREVIOUS &kp C_PLAY_PAUSE &kp C_NEXT &trans &trans
305+
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
306+
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
307+
&trans &kp KP_PLUS &sev_f7 &eight_f8 &nine_f9 &mult_f11 &kp PG_UP &kp LC(LEFT) &kp UP_ARROW &kp LC(RIGHT) &kp PG_DN &trans
308+
&trans &zero_f10 &four_f4 &five_f5 &six_f6 &eq_f12 &kp HOME &kp LEFT_ARROW &kp DOWN_ARROW &kp RIGHT_ARROW &kp END &trans
309+
&trans &kp KP_MINUS &one_f1 &two_f2 &three_f3 &kp KP_SLASH &trans &tog 3 &trans &trans &tog 3 &trans &kp DELETE &kp C_VOLUME_DOWN &kp C_MUTE &kp C_VOLUME_UP &kp PRINTSCREEN &trans
310+
&trans &kp RA(N4) &kp DOLLAR &kp POUND &kp KP_DOT &trans &kp ESCAPE &trans &trans &kp RETURN &trans &kp C_PREVIOUS &kp C_PLAY_PAUSE &kp C_NEXT &trans &trans
338311
>;
339312
};
340313

@@ -355,13 +328,11 @@
355328
&none &none &none &none &none &none &none &none &none &none &none &none
356329
&none &rgb_ug RGB_SPI &rgb_ug RGB_SAI &rgb_ug RGB_HUI &rgb_ug RGB_BRI &rgb_ug RGB_TOG &none &none &none &none &none &none
357330
&bootloader &rgb_ug RGB_SPD &rgb_ug RGB_SAD &rgb_ug RGB_HUD &rgb_ug RGB_BRD &rgb_ug RGB_EFF &none &none &none &none &none &bootloader
358-
&sys_reset &none &none &none &none &none &bt_2 &bt_3 &none &none &none &none &none &none &none &none &none &sys_reset
331+
&sys_reset &none &none &none &none &none &bt_2 &bt_3 &none &none &none &none &none &none &none &none &none &sys_reset
359332
&none &none &none &none &none &bt_0 &bt_1 &out OUT_USB &none &none &none &none &none &none &none &none
360333
>;
361334
};
362335
};
363336
};
364337

365-
&caps_word {
366-
continue-list = <UNDERSCORE BACKSPACE DELETE MINUS KP_MINUS>;
367-
};
338+
&caps_word { continue-list = <UNDERSCORE BACKSPACE DELETE MINUS KP_MINUS>; };

0 commit comments

Comments
 (0)