Skip to content

Commit

Permalink
Port
Browse files Browse the repository at this point in the history
  • Loading branch information
cbxm authored Oct 7, 2024
1 parent 2ecfa7a commit 1a68d39
Showing 1 changed file with 22 additions and 13 deletions.
35 changes: 22 additions & 13 deletions config/corneish_zen.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@
};

/ {
behaviors {
WinShiftDance: WinShiftDance {
compatible = "zmk,behavior-tap-dance";
label = "WINSHIFTDANCE";
#binding-cells = <0>;
bindings = <&mt LEFT_SHIFT LWIN>, <&kp LWIN>;
};
};

keymap {
compatible = "zmk,keymap";

Expand All @@ -31,10 +40,10 @@
// | LWR | BACK| CTRL| | ENT | SPC | RSE |

bindings = <
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &mt RALT DELETE
&kp BACKSPACE &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &lt 2 SQT
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT
&kp LEFT_GUI &kp ENTER &mt LCTRL ESCAPE &mt LALT ENTER &lt 3 SPACE &lt 1 K_CONTEXT_MENU
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &mt RALT DELETE
&kp BACKSPACE &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&WinShiftDance &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT
&kp ESCAPE &kp BACKSPACE &mt LCTRL ENTER &lt 3 SPACE &lt 2 ENTER &lt 1 ESCAPE
>;
};

Expand All @@ -48,10 +57,10 @@
// | LWR | BACK| CTRL| | ENT | SPC | RSE |

bindings = <
&trans &kp F10 &kp F7 &kp F8 &kp F9 &none &kp KP_PLUS &kp KP_NUMBER_7 &kp KP_NUMBER_8 &kp KP_NUMBER_9 &kp KP_MULTIPLY &trans
&trans &kp F11 &kp F4 &kp F5 &kp F6 &none &kp KP_MINUS &kp KP_NUMBER_4 &kp KP_NUMBER_5 &kp KP_NUMBER_6 &kp KP_DIVIDE &kp KP_EQUAL
&trans &kp F12 &kp F1 &kp F2 &kp F3 &none &kp KP_NUMBER_0 &kp KP_NUMBER_1 &kp KP_NUMBER_2 &kp KP_NUMBER_3 &mt COMMA PERIOD &trans
&trans &trans &trans &trans &trans &mo 1
&trans &kp F10 &kp F7 &kp F8 &kp F9 &none &kp KP_PLUS &kp KP_NUMBER_7 &kp KP_NUMBER_8 &kp KP_NUMBER_9 &kp KP_MULTIPLY &trans
&trans &kp F11 &kp F4 &kp F5 &kp F6 &none &kp KP_MINUS &kp KP_NUMBER_4 &kp KP_NUMBER_5 &kp KP_NUMBER_6 &kp KP_DIVIDE &kp KP_EQUAL
&trans &kp F12 &kp F1 &kp F2 &kp F3 &none &kp N0 &kp KP_NUMBER_1 &kp KP_NUMBER_2 &kp KP_NUMBER_3 &mt COMMA PERIOD &trans
&trans &trans &trans &trans &trans &mo 1
>;
};

Expand All @@ -76,10 +85,10 @@
// | LWR | BACK| CTRL| | ENT | SPC | RSE |

bindings = <
&trans &none &none &none &none &none &none &none &none &none &trans &trans
&trans &none &none &none &none &kp PG_UP &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp K_MUTE &none
&trans &none &none &kp HOME &kp END &kp PG_DN &kp K_PP &kp K_PREV &kp K_NEXT &kp C_VOL_DN &kp C_VOL_UP &trans
&trans &trans &trans &trans &trans &none
&trans &none &none &none &none &none &kp PSCRN &none &none &none &trans &trans
&trans &none &none &kp HOME &kp END &kp PG_UP &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp K_MUTE &none
&trans &none &none &kp LG(LC(LEFT)) &kp LC(LG(RIGHT)) &kp PG_DN &kp K_PP &kp K_PREV &kp K_NEXT &kp C_VOL_DN &kp C_VOL_UP &trans
&trans &trans &trans &trans &trans &none
>;
};

Expand Down Expand Up @@ -109,4 +118,4 @@
then-layer = <4>;
};
};
};
};

0 comments on commit 1a68d39

Please sign in to comment.