Skip to content

Commit

Permalink
maybe better @ ` ~
Browse files Browse the repository at this point in the history
  • Loading branch information
olgam4 committed Jul 12, 2024
1 parent 7388df2 commit a912d83
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 9 deletions.
36 changes: 29 additions & 7 deletions config/boards/shields/ponyta/ponyta.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,37 @@

/ {
macros {
shift_tab: shift_tab {
cut: cut {
compatible = "zmk,behavior-macro";
wait-ms = <5>;
tap-ms = <5>;
#binding-cells = <0>;
bindings
= <&macro_press &kp LSHIFT>
, <&macro_tap &kp TAB>
, <&macro_release &kp LSHIFT>
= <&macro_press &kp LGUI>
, <&macro_tap &kp X>
, <&macro_release &kp LGUI>
;
};
copy: copy {
compatible = "zmk,behavior-macro";
wait-ms = <5>;
tap-ms = <5>;
#binding-cells = <0>;
bindings
= <&macro_press &kp LGUI>
, <&macro_tap &kp C>
, <&macro_release &kp LGUI>
;
};
paste: paste {
compatible = "zmk,behavior-macro";
wait-ms = <5>;
tap-ms = <5>;
#binding-cells = <0>;
bindings
= <&macro_press &kp LGUI>
, <&macro_tap &kp V>
, <&macro_release &kp LGUI>
;
};
email: email {
Expand Down Expand Up @@ -252,9 +274,9 @@
symbols {
bindings = <
// ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
&kp CARET &kp AMPS &kp LPAR &kp RPAR &kp STAR &kp DLLR &kp HASH &kp PRCNT &kp FSLH &at
&kp CARET &kp AMPS &kp LPAR &kp RPAR &kp STAR &kp DLLR &kp HASH &kp PRCNT &kp FSLH &kp LS(N2)
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp MINUS &kp EQUAL &kp LBKT &kp RBKT &kp BSLH &grave &tilde &none &none &none
&kp MINUS &kp EQUAL &kp LBKT &kp RBKT &kp BSLH &kp GRAVE &kp LS(GRAVE) &none &none &none
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp UNDER &kp PLUS &kp LBRC &kp RBRC &kp PIPE &none &none &none &none &y_heart
// ╰─────────────┴─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┴-────────────╯
Expand Down Expand Up @@ -282,7 +304,7 @@
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp LSHFT &kp LEFT &kp DOWN &kp RIGHT &none &none &kp LCTRL &kp LGUI &none &none
// ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&none &kp C_AC_CUT &kp C_AC_COPY &kp C_AC_PASTE &none &none &kp TAB &kp LS(TAB) &none &none
&none &cut &copy &paste &none &none &kp TAB &kp LS(TAB) &none &none
// ╰─────────────┴─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┴-────────────╯
&record &kp RET &screenshot &none &none &none
// ╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯
Expand Down
2 changes: 0 additions & 2 deletions config/boards/shields/ponyta/unicode-chars/symbols.dtsi
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/* symbols */
ZMK_UNICODE_SINGLE(tilde, N0, N0, N7, E)
ZMK_UNICODE_SINGLE(grave, N0, N0, N6, N0)
ZMK_UNICODE_SINGLE(at , N0, N0, N4, N0)
ZMK_UNICODE_SINGLE(at , N0, N0, N4, N0)

ZMK_UNICODE_HEX(y_heart , D, N8, N3, D, D, C, N9, B)

0 comments on commit a912d83

Please sign in to comment.