diff --git a/config/corne.keymap b/config/corne.keymap index f7ea666..35e24cd 100644 --- a/config/corne.keymap +++ b/config/corne.keymap @@ -18,15 +18,15 @@ label = "LLAYERS"; #binding-cells = <0>; bindings = + <&mo 5>, <&mo 1>, - <&mo 4>, <&tog 5>; }; rlayers: rlayers { compatible = "zmk,behavior-tap-dance"; label = "RLAYERS"; #binding-cells = <0>; - bindings = <&mo 2>; + bindings = <&mo 5>; }; lmods: lmods { compatible = "zmk,behavior-tap-dance"; @@ -93,6 +93,11 @@ bindings = <&kp BACKSPACE>; key-positions = <9 10>; }; + + l5 { + bindings = <&sl 5>; + key-positions = <36 40 41 37>; + }; }; macros { @@ -103,19 +108,30 @@ base { bindings = < - &kp TAB &kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp SEMI &kp INS - &kp BACKSPACE &kp A &kp R &kp S &kp T &kp D &kp H &kp N &kp E &kp I &kp O &kp DEL -&kp LEFT_SHIFT &kp Z &kp X &kp C &kp V &kp B &kp K &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT - &lmods &mo 1 &kp SPACE &kp ENTER &mo 2 &rmods + &kp TAB &kp Q &kp W &kp F &kp P &kp G &kp J &kp L &kp U &kp Y &kp SEMI &kp INS + &kp BACKSPACE &kp A &kp R &kp S &kp T &kp D &kp H &kp N &kp E &kp I &kp O &kp DEL +&kp LEFT_SHIFT &kp Z &kp X &kp C &kp V &kp B &kp K &kp M &kp COMMA &kp DOT &kp FSLH &kp RSHFT + &to 1 &mo 2 &kp SPACE &kp ENTER &mo 3 &sl 4 >; }; + altkeypad { + bindings = < + &trans &kp MINUS &kp PLUS &kp N7 &kp N8 &kp N9 &trans &trans &trans &trans &trans &trans +&kp BSPC &kp FSLH &kp STAR &kp N4 &kp N5 &kp N6 &trans &trans &trans &trans &trans &trans + &trans &kp KP_EQUAL &kp DOT &kp N1 &kp N2 &kp N3 &trans &trans &trans &trans &trans &trans + &to 1 &kp KP_N0 &kp ENTER &trans &trans &trans + >; + + label = "altkeypad"; + }; + navigation { bindings = < &kp ESC &kp HOME &kp PAGE_DOWN &kp PG_UP &kp END &kp ENTER &kp KP_NUMBER_7 &kp KP_NUMBER_8 &kp KP_NUMBER_9 &kp KP_PLUS &kp KP_MINUS &trans &kp BSPC &kp LEFT &kp UP &kp DOWN &kp RIGHT &kp DEL &kp KP_NUMBER_4 &kp KP_NUMBER_5 &kp KP_NUMBER_6 &kp KP_MULTIPLY &kp KP_DIVIDE &kp BACKSPACE &trans &none &none &none &none &none &kp KP_NUMBER_1 &kp KP_NUMBER_2 &kp KP_NUMBER_3 &kp KP_DOT &kp KP_EQUAL &trans - &trans &trans &trans &trans &mo 3 &kp KP_N0 + &trans &trans &trans &kp ENTER &kp KP_N0 &trans >; label = "navigation"; @@ -126,12 +142,23 @@ &kp F1 &mt N1 F2 &mt N2 F3 &mt N3 F4 &mt N4 F5 &mt N5 F6 &mt N6 F7 &mt N7 F8 &mt N8 F9 &mt N9 F10 &mt N0 F11 &kp F12 &trans &kp LS(N1) &kp LS(N2) &kp LS(N3) &kp LS(N4) &kp LS(N5) &kp RS(N6) &kp RS(N7) &kp RS(N8) &kp RS(N9) &kp RS(N0) &trans &trans &kp NUBS &kp PIPE &kp NUHS &kp MINUS &kp UNDER &kp LS(NUMBER_2) &kp SINGLE_QUOTE &kp DOUBLE_QUOTES &kp LEFT_BRACKET &kp RIGHT_BRACKET &trans - &trans &mo 3 &trans &trans &trans &trans + &trans &trans &trans &trans &trans &trans >; label = "punctuation"; }; + altium { + bindings = < + &kp ESC &kp X &kp SPACE &kp UP &kp LS(SPACE) &kp STAR &none &none &none &none &none &none + &kp TAB &kp Y &kp LEFT &kp DOWN &kp RIGHT &kp L &none &none &none &none &none &none +&kp LEFT_SHIFT &kp LC(Z) &kp LC(X) &kp LC(C) &kp LC(V) &none &none &none &none &none &none &none + &kp LEFT_CONTROL &to 4 &kp RET &none &none &to 4 + >; + + label = "altium"; + }; + configuration { bindings = < &trans &trans &trans &trans &trans &bt BT_SEL 0 &bt BT_SEL 3 &trans &trans &trans &trans &trans @@ -142,27 +169,5 @@ label = "configuration"; }; - - altkeypad { - bindings = < - &trans &kp MINUS &kp PLUS &kp N7 &kp N8 &kp N9 &trans &trans &trans &trans &trans &trans -&kp BSPC &kp FSLH &kp STAR &kp N4 &kp N5 &kp N6 &trans &trans &trans &trans &trans &trans - &trans &kp KP_EQUAL &kp DOT &kp N1 &kp N2 &kp N3 &trans &trans &trans &trans &trans &trans - &kp N0 &trans &trans &trans &trans &trans - >; - - label = "altkeypad"; - }; - - altium { - bindings = < - &kp ESC &kp X &kp SPACE &kp UP &kp LS(SPACE) &kp STAR &none &none &none &none &none &none - &kp TAB &kp Y &kp LEFT &kp DOWN &kp RIGHT &kp L &none &none &none &none &none &none -&kp LEFT_SHIFT &kp LC(Z) &kp LC(X) &kp LC(C) &kp LC(V) &none &none &none &none &none &none &none - &kp LEFT_CONTROL &trans &kp RET &none &none &none - >; - - label = "altium"; - }; }; };