Skip to content

Commit

Permalink
chore: format keymap file
Browse files Browse the repository at this point in the history
  • Loading branch information
timonviola committed Nov 30, 2023
1 parent 061ff17 commit 7f47dc3
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -24,63 +24,63 @@


/ {
keymap {
compatible = "zmk,keymap";
keymap {
compatible = "zmk,keymap";

default_layer {
default_layer {
label = "base";
// +------------------------------------------------------------------------------------+
// | TAB | ; : | , < | . > | P | Y | | F | G | C | R | L | BSPC |
// | LSHFT | A | O | E | U | I | | D | H | T | N | S | DEL |
// | CTLR | ' " | q @ | J | K | X | | B | M | W | V | Z | ESC |
// | GUI | LOWER | SPC | | ENT | RAISE | ALT |
// +------------------------------------------------------------------------------------+
label = "base";
bindings = <
bindings = <
&kp TAB &kp SEMI &kp COMMA &kp DOT &kp P &kp Y &kp F &kp G &kp C &kp R &kp L &kp BSPC
&kp LSHFT &kp A &kp O &kp E &kp U &kp I &kp D &kp H &kp T &kp N &kp S &kp DEL
&kp LCTRL &kp SQT &kp Q &kp J &kp K &kp X &kp B &kp M &kp W &kp V &kp Z &kp ESC
&kp LGUI &mo LOWER &kp SPACE &kp RET &mo RAISE &kp RALT
>;
};
lower_layer {
lower_layer {
label = "lower";
// +------------------------------------------------------------------------------------+
// | TAB | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 0 | BSPC |
// | LSHFT | F1 | F2 | F3 | F4 | F5 | | LEFT| DOWN| UP | RHGT| | |
// | CTLR | F6 | F7 | F8 | F9 | | | | F10 | F11 | F12 | | |
// | GUI | | SPC | | ENT |MEDIA| ALT |
// +------------------------------------------------------------------------------------+
label = "lower";
bindings = <
bindings = <
&kp TAB &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BSPC
&kp LSHFT &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans &trans
&kp LCTRL &kp F6 &kp F7 &kp F8 &kp F9 &trans &trans &kp F10 &kp F11 &kp F12 &trans &trans
&kp LGUI &trans &kp SPACE &kp RET &mo MEDIA &kp RALT
>;
};
raise_layer {
raise_layer {
label = "raise";
// +------------------------------------------------------------------------------------+
// | TAB | ! | @ | # | $ | % | | ^ | & | * | ( | ) | BSPC |
// | LSHFT | ~ | - | [ | ( | : | | \ | ) | ] | + | = | ` ~ |
// | CTLR |GLOBE| _ | ? | { | " | | ; | } | | | | / | ESC |
// | GUI |MEDIA| SPC | | ENT | | ALT |
// +------------------------------------------------------------------------------------+
label = "raise";
bindings = <
bindings = <
&kp TAB &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp STAR &kp LPAR &kp RPAR &kp BSPC
&kp LSHFT &kp TILDE &kp MINUS &kp LBKT &kp LPAR &kp COLON &kp BSLH &kp RPAR &kp RBKT &kp PLUS &kp EQUAL &kp GRAVE
&kp LCTRL &kp GLOBE &kp UNDER &kp QMARK &kp LBRC &kp DQT &kp SEMI &kp RBRC &trans &kp PIPE &kp FSLH &kp ESC
&kp LGUI &mo MEDIA &kp SPACE &kp RET &trans &kp RALT
>;
};
media_layer {
media_layer {
label = "media";
// +------------------------------------------------------------------------------------+
// | TAB | | | | | | | | | | | | BSPC |
// |BT CLR | BT1 | BT2 | BT3 | BT4 | BT5 | | PREV|> || | NEXT| | | |
// | CTLR |PW ON|PWOFF| | | | | MUTE| VOL-| VOL+| | | ESC |
// | GUI | | SPC | | ENT | | ALT |
// +------------------------------------------------------------------------------------+
label = "media";
bindings = <
bindings = <
&kp TAB &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &kp BSPC
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &kp C_PREV &kp C_PP &kp C_NEXT &trans &trans &trans
&kp LCTRL &ext_power EP_ON &ext_power EP_OFF &trans &trans &trans &kp C_MUTE &kp C_VOL_DN &kp C_VOL_UP &trans &trans &kp ESC
Expand Down

0 comments on commit 7f47dc3

Please sign in to comment.