Skip to content

Commit

Permalink
New keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
Promytheos committed Aug 22, 2024
1 parent 2ed42aa commit ba6aa95
Showing 1 changed file with 19 additions and 30 deletions.
49 changes: 19 additions & 30 deletions config/splitkb_aurora_corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,12 @@
#define NUMBER 1
#define SYMBOL 2
#define FUNCTION 3
#define MO_TOG(layer) &mo_tog layer layer

&mt {
flavor = "tap-preferred";
};

/ {
behaviors {
mo_tog: behavior_mo_tog {
compatible = "zmk,behavior-hold-tap";
#binding-cells = <2>;
flavor = "hold-preferred";
tapping-term-ms = <200>;
bindings = <&mo>, <&tog>;
};
};

keymap {
compatible = "zmk,keymap";

Expand All @@ -39,23 +28,23 @@
// | SHFT | Z | X | C | V | B | | N | M | , | . | / | ' |
// | FUN | NUM | SPC | | SPC | SYM | ALT |
bindings = <
&gresc &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
&gresc &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp MINUS
&kp TAB &mt LGUI A &mt LALT S &mt LSHFT D &mt LCTRL F &kp G &kp H &mt RCTRL J &mt RSHFT K &mt RALT L &mt RGUI SEMI &kp SQT
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RET
MO_TOG(FUNCTION) MO_TOG(NUMBER) &kp SPACE &kp SPACE &mo SYMBOL &kp RALT
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp BSLH
&mo FUNCTION &mo NUMBER &kp RET &kp SPACE &kp BSPC &mo SYMBOL
>;
};
number_layer {
// -----------------------------------------------------------------------------------------
// | ESC | | | | | | | 7 | 8 | 9 | - | / | BKSP |
// | TAB | | | | | | | 4 | 5 | 6 | + | * | |
// | | | | | | | | 1 | 2 | 3 | | | ENT |
// | | | SPC | | SPC | 0 | . |
// | | ! | @ | # | $ | % | | ^ | & | * | ( | ) | - |
// | | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | = |
// | | | | | | | | | | | | | |
// | | | | | | | |
bindings = <
&gresc &trans &trans &trans &trans &trans &kp N7 &kp N8 &kp N9 &kp MINUS &trans &kp BSPC
&kp TAB &trans &trans &trans &trans &trans &kp N4 &kp N5 &kp N6 &kp EQUAL &kp ASTRK &trans
&trans &trans &trans &trans &trans &trans &kp N1 &kp N2 &kp N3 &kp FSLH &trans &kp RET
&trans &trans &kp SPACE &kp SPACE &kp N0 &kp DOT
&trans &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp ASTRK &kp LPAR &kp RPAR &trans
&trans &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp EQUAL
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans
>;
};

Expand All @@ -66,10 +55,10 @@
// | SHFT | | | | | | | _ | + | { | } | "|" | ~ |
// | GUI | | SPC | | ENT | | ALT |
bindings = <
&kp TAB &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp ASTRK &kp LPAR &kp RPAR &kp BSPC
&kp LCTRL &trans &trans &trans &trans &trans &kp MINUS &kp EQUAL &kp LBKT &kp RBKT &kp BSLH &kp GRAVE
&kp LSHFT &trans &trans &trans &trans &trans &kp UNDER &kp PLUS &kp LBRC &kp RBRC &kp PIPE &kp TILDE
&kp LGUI &trans &kp SPACE &kp RET &trans &kp RALT
&kp GRAVE &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp ASTRK &kp LPAR &kp RPAR &trans
&trans &trans &trans &trans &trans &trans &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp LBKT &kp RBKT
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&kp LGUI &trans &kp SPACE &kp RET &trans &kp RALT
>;
};

Expand All @@ -80,10 +69,10 @@
// | BTCLRALL | | | | | | | | PREV | PAUSE | NEXT | MUTE | VOL DOWN |
// | | | SPC | | ENT | | ALT |
bindings = <
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans &kp C_VOL_UP
&bt BT_CLR_ALL &none &none &trans &trans &trans &trans &kp C_PREV &kp C_PP &kp C_NEXT &kp C_MUTE &kp C_VOL_DN
&trans &trans &kp SPACE &kp RET &trans &kp RALT
&bt BT_CLR_ALL &bt BT_CLR &bt BT_PRV &bt BT_NXT &trans &trans &kp C_PREV &kp C_PP &kp C_NEXT &kp C_MUTE &kp C_VOL_DN &kp C_VOL_UP
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans
>;
};
};
Expand Down

0 comments on commit ba6aa95

Please sign in to comment.