Skip to content

Commit

Permalink
Update keymap: Add BT disconnect keys, simplify symbols layer, improv…
Browse files Browse the repository at this point in the history
…e em-dash macro
  • Loading branch information
cbxm committed Feb 6, 2025
1 parent 5fa5381 commit 9129c42
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions config/lily58.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,15 @@
em_dash: em_dash {
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings =
<&macro_press>,
<&kp RIGHT_ALT &kp KP_N0 &kp KP_NUMBER_1 &kp KP_NUMBER_5 &kp KP_NUMBER_1>,
<&macro_release>;

wait-ms = <30>;
tap-ms = <40>;
bindings =
<&macro_press &kp LALT>,
<&macro_tap &kp KP_N0>,
<&macro_tap &kp KP_N1>,
<&macro_tap &kp KP_N5>,
<&macro_tap &kp KP_N1>,
<&macro_release &kp LALT>;
label = "EM_DASH";
};
};
Expand Down Expand Up @@ -77,7 +81,7 @@

symbols {
bindings = <
&trans &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp STAR &kp LPAR &kp RPAR &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &kp EXCLAMATION &kp AT_SIGN &kp POUND &kp DOLLAR &kp PERCENT &kp CARET &kp AMPERSAND &kp ASTERISK &kp LEFT_PARENTHESIS &kp RIGHT_PARENTHESIS &kp PIPE
&trans &kp GRAVE &kp LEFT_BRACE &kp LEFT_BRACKET &kp LEFT_PARENTHESIS &kp EQUAL &kp MINUS &trans &trans &trans &trans &trans
&trans &kp TILDE &kp RIGHT_BRACE &kp RIGHT_BRACKET &kp RIGHT_PARENTHESIS &kp PLUS &trans &em_dash &kp UNDER &trans &trans &trans &trans &trans
Expand All @@ -101,16 +105,16 @@

board {
bindings = <
&none &none &none &none &none &none &none &none &none &bt BT_PRV &bt BT_NXT &bt BT_CLR
&none &none &none &none &none &none &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &kp C_PREV &kp C_NEXT &kp C_PP
&none &none &none &none &none &none &none &none &none &none &none &kp C_VOL_DN &kp C_VOL_UP &kp C_MUTE
&none &none &none &none &none &none &none &trans
&none &bt BT_DISC 0 &bt BT_DISC 1 &bt BT_DISC 2 &bt BT_DISC 3 &bt BT_DISC 4 &none &none &none &bt BT_PRV &bt BT_NXT &bt BT_CLR
&none &none &none &none &none &none &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &kp C_PREV &kp C_NEXT &kp C_PP
&none &none &none &none &none &none &none &none &none &none &none &kp C_VOL_DN &kp C_VOL_UP &kp C_MUTE
&none &none &none &none &none &none &none &trans
>;

label = "keeb";
};
};

conditional_layers { compatible = "zmk,conditional-layers"; };
};
};

0 comments on commit 9129c42

Please sign in to comment.