Skip to content

Commit

Permalink
remove: underscore combo
Browse files Browse the repository at this point in the history
Closes #3
  • Loading branch information
keymap-editor[bot] authored Mar 31, 2024
1 parent 2ac3611 commit 6f9c77f
Showing 1 changed file with 64 additions and 93 deletions.
157 changes: 64 additions & 93 deletions config/glove80.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

#include <behaviors.dtsi>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/ext_power.h>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/outputs.h>
#include <dt-bindings/zmk/rgb.h>
Expand All @@ -18,224 +17,200 @@
compatible = "zmk,behavior-tap-dance";
label = "SYMBOLS";
#binding-cells = <0>;
bindings =
<&mo 2>,
<&to 2>;
bindings = <&mo 2>, <&to 2>;
};

nav: nav {
compatible = "zmk,behavior-tap-dance";
label = "NAV";
#binding-cells = <0>;
bindings =
<&mo 3>,
<&to 3>;
bindings = <&mo 3>, <&to 3>;
};

smart_lshift: smart_lshift {
compatible = "zmk,behavior-tap-dance";
label = "SMART_LSHIFT";
#binding-cells = <0>;
bindings =
<&kp LSHFT>,
<&caps_word>;
bindings = <&kp LSHFT>, <&caps_word>;
};

smart_rshift: smart_rshift {
compatible = "zmk,behavior-tap-dance";
label = "SMART_RSHIFT";
#binding-cells = <0>;
bindings =
<&kp RSHFT>,
<&caps_word>;
bindings = <&kp RSHFT>, <&caps_word>;
};

quotes: quotes {
compatible = "zmk,behavior-mod-morph";
label = "QUOTES";
bindings =
<&kp SINGLE_QUOTE>,
<&kp AT>;
bindings = <&kp SINGLE_QUOTE>, <&kp AT>;

#binding-cells = <0>;
mods = <(MOD_LSFT|MOD_RSFT)>;
};

question_excl: question_excl {
compatible = "zmk,behavior-mod-morph";
label = "QUESTION_EXCL";
bindings =
<&kp QUESTION>,
<&kp EXCL>;
bindings = <&kp QUESTION>, <&kp EXCL>;

#binding-cells = <0>;
mods = <(MOD_LSFT|MOD_RSFT)>;
};

dash_slash: dash_slash {
compatible = "zmk,behavior-mod-morph";
label = "DASH_SLASH";
bindings =
<&kp MINUS>,
<&kp SLASH>;
bindings = <&kp MINUS>, <&kp SLASH>;

#binding-cells = <0>;
mods = <(MOD_LSFT|MOD_RSFT)>;
};

dot_colon: dot_colon {
compatible = "zmk,behavior-mod-morph";
label = "DOT_COLON";
bindings =
<&kp DOT>,
<&kp COLON>;
bindings = <&kp DOT>, <&kp COLON>;

#binding-cells = <0>;
mods = <(MOD_LSFT|MOD_RSFT)>;
};

comma_semi: comma_semi {
compatible = "zmk,behavior-mod-morph";
label = "COMMA_SEMI";
bindings =
<&kp COMMA>,
<&kp SEMI>;
bindings = <&kp COMMA>, <&kp SEMI>;

#binding-cells = <0>;
mods = <(MOD_LSFT|MOD_RSFT)>;
};

under_backsl: under_backsl {
compatible = "zmk,behavior-mod-morph";
label = "UNDER_BACKSL";
bindings =
<&kp UNDERSCORE>,
<&kp NON_US_BACKSLASH>;
bindings = <&kp UNDERSCORE>, <&kp NON_US_BACKSLASH>;

#binding-cells = <0>;
mods = <(MOD_RSFT|MOD_LSFT)>;
};

zero_f10: zero_f10 {
compatible = "zmk,behavior-mod-morph";
label = "ZERO_F10";
bindings =
<&kp N0>,
<&kp F10>;
bindings = <&kp N0>, <&kp F10>;

#binding-cells = <0>;
mods = <(MOD_RSFT|MOD_LSFT)>;
};

one_f1: one_f1 {
compatible = "zmk,behavior-mod-morph";
label = "ONE_F1";
bindings =
<&kp N1>,
<&kp F1>;
bindings = <&kp N1>, <&kp F1>;

#binding-cells = <0>;
mods = <(MOD_RSFT|MOD_LSFT)>;
};

two_f2: two_f2 {
compatible = "zmk,behavior-mod-morph";
label = "TWO_F2";
bindings =
<&kp N2>,
<&kp F2>;
bindings = <&kp N2>, <&kp F2>;

#binding-cells = <0>;
mods = <(MOD_LSFT|MOD_RSFT)>;
};

three_f3: three_f3 {
compatible = "zmk,behavior-mod-morph";
label = "THREE_F3";
bindings =
<&kp N3>,
<&kp F3>;
bindings = <&kp N3>, <&kp F3>;

#binding-cells = <0>;
mods = <(MOD_LSFT|MOD_RSFT)>;
};

four_f4: four_f4 {
compatible = "zmk,behavior-mod-morph";
label = "FOUR_F4";
bindings =
<&kp N4>,
<&kp F4>;
bindings = <&kp N4>, <&kp F4>;

#binding-cells = <0>;
mods = <(MOD_LSFT|MOD_RSFT)>;
};

five_f5: five_f5 {
compatible = "zmk,behavior-mod-morph";
label = "FIVE_F5";
bindings =
<&kp N5>,
<&kp F5>;
bindings = <&kp N5>, <&kp F5>;

#binding-cells = <0>;
mods = <(MOD_LSFT|MOD_RSFT)>;
};

six_f6: six_f6 {
compatible = "zmk,behavior-mod-morph";
label = "SIX_F6";
bindings =
<&kp N6>,
<&kp F6>;
bindings = <&kp N6>, <&kp F6>;

#binding-cells = <0>;
mods = <(MOD_LSFT|MOD_RSFT)>;
};

sev_f7: sev_f7 {
compatible = "zmk,behavior-mod-morph";
label = "SEV_F7";
bindings =
<&kp N7>,
<&kp F7>;
bindings = <&kp N7>, <&kp F7>;

#binding-cells = <0>;
mods = <(MOD_LSFT|MOD_RSFT)>;
};

eight_f8: eight_f8 {
compatible = "zmk,behavior-mod-morph";
label = "EIGHT_F8";
bindings =
<&kp N8>,
<&kp F8>;
bindings = <&kp N8>, <&kp F8>;

#binding-cells = <0>;
mods = <(MOD_LSFT|MOD_RSFT)>;
};

nine_f9: nine_f9 {
compatible = "zmk,behavior-mod-morph";
label = "NINE_F9";
bindings =
<&kp N9>,
<&kp F9>;
bindings = <&kp N9>, <&kp F9>;

#binding-cells = <0>;
mods = <(MOD_LSFT|MOD_RSFT)>;
};

mult_f11: mult_f11 {
compatible = "zmk,behavior-mod-morph";
label = "MULT_F11";
bindings =
<&kp KP_MULTIPLY>,
<&kp F11>;
bindings = <&kp KP_MULTIPLY>, <&kp F11>;

#binding-cells = <0>;
mods = <(MOD_LSFT|MOD_RSFT)>;
};

eq_f12: eq_f12 {
compatible = "zmk,behavior-mod-morph";
label = "EQ_F12";
bindings =
<&kp KP_EQUAL>,
<&kp F12>;
bindings = <&kp KP_EQUAL>, <&kp F12>;

#binding-cells = <0>;
mods = <(MOD_LSFT|MOD_RSFT)>;
};
magic: magic_hold_tap {
compatible = "zmk,behavior-hold-tap";
label = "MAGIC_HOLD_TAP";
#binding-cells = <2>;
flavor = "tap-preferred";
tapping-term-ms = <200>;
bindings =
<&mo>,
<&rgb_ug_status_macro>;
};

magic: magic_hold_tap {
compatible = "zmk,behavior-hold-tap";
label = "MAGIC_HOLD_TAP";
#binding-cells = <2>;
flavor = "tap-preferred";
tapping-term-ms = <200>;
bindings = <&mo>, <&rgb_ug_status_macro>;
};
};
};

Expand All @@ -247,24 +222,28 @@
#binding-cells = <0>;
bindings = <&rgb_ug RGB_STATUS>;
};

bt_0: bt_profile_macro_0 {
label = "BT_0";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings = <&out OUT_BLE &bt BT_SEL 0>;
};

bt_1: bt_profile_macro_1 {
label = "BT_1";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings = <&out OUT_BLE &bt BT_SEL 1>;
};

bt_2: bt_profile_macro_2 {
label = "BT_2";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings = <&out OUT_BLE &bt BT_SEL 2>;
};

bt_3: bt_profile_macro_3 {
label = "BT_3";
compatible = "zmk,behavior-macro";
Expand All @@ -283,12 +262,6 @@
key-positions = <52 57>;
layers = <0>;
};

underscore {
bindings = <&kp UNDERSCORE>;
key-positions = <69 74>;
layers = <0>;
};
};

keymap {
Expand Down Expand Up @@ -329,12 +302,12 @@

navigation_layer {
bindings = <
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&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
&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
&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
&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
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&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
&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
&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
&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
>;
};

Expand All @@ -355,13 +328,11 @@
&none &none &none &none &none &none &none &none &none &none &none &none
&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
&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
&sys_reset &none &none &none &none &none &bt_2 &bt_3 &none &none &none &none &none &none &none &none &none &sys_reset
&sys_reset &none &none &none &none &none &bt_2 &bt_3 &none &none &none &none &none &none &none &none &none &sys_reset
&none &none &none &none &none &bt_0 &bt_1 &out OUT_USB &none &none &none &none &none &none &none &none
>;
};
};
};

&caps_word {
continue-list = <UNDERSCORE BACKSPACE DELETE MINUS KP_MINUS>;
};
&caps_word { continue-list = <UNDERSCORE BACKSPACE DELETE MINUS KP_MINUS>; };

0 comments on commit 6f9c77f

Please sign in to comment.