clean up formatting

This commit is contained in:
Crispy 2022-09-16 20:43:24 +02:00
parent 2661358d4e
commit a71dd86b6c

View file

@ -2,31 +2,29 @@
#include <dt-bindings/zmk/keys.h> #include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h> #include <dt-bindings/zmk/bt.h>
#define L1 1 #define L0 0
#define L1 1
#define L2 2 #define L2 2
#define L3 3 #define L3 3
/ { / {
keymap { keymap {
compatible = "zmk,keymap"; compatible = "zmk,keymap";
layer_0 { layer_0 {
// ESC | W | F | P | B | | J | L | U | Y | <- | bindings = <
// A | R | S | T | G | | M | N | E | I | O | &kp ESC &kp W &kp F &kp P &kp B &kp J &kp L &kp U &kp Y &kp BACKSPACE
// LCTRL | X | C | D | V | | K | H | Z | Q | RET | &kp A &kp R &kp S &kp T &kp G &kp M &kp N &kp E &kp I &kp O
// | LALT | SPACE | L1 | | L2 | SHIFT | SUPER | &kp LCTRL &kp X &kp C &kp D &kp V &kp K &kp H &kp Z &kp Q &kp RET
bindings = < &kp LALT &kp SPACE &mo L1 &mo L2 &kp LSHFT &kp LWIN
&kp ESC &kp W &kp F &kp P &kp B &kp J &kp L &kp U &kp Y &kp BACKSPACE >;
&kp A &kp R &kp S &kp T &kp G &kp M &kp N &kp E &kp I &kp O };
&kp LCTRL &kp X &kp C &kp D &kp V &kp K &kp H &kp Z &kp Q &kp RET layer_1 {
&kp LALT &kp SPACE &mo L1 &mo L1 &kp LSHFT &kp LWIN bindings = <
>;}; &kp TAB &kp X &bt BT_SEL 0 &bt BT_NXT &bt BT_CLR &kp X &kp X &kp X &kp X &kp DEL
layer_1 { &kp N0 &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9
bindings = < &trans &kp X &kp X &kp X &kp X &kp X &kp X &kp COMMA &kp DOT &kp KP_ENTER
&kp TAB &kp X &bt BT_SEL 0 &bt BT_NXT &bt BT_CLR &kp X &kp X &kp X &kp X &kp DEL &trans &trans &trans &mo L0 &trans &trans
&kp N0 &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 >;
&trans &kp X &kp X &kp X &kp X &kp X &kp X &kp COMMA &kp DOT &trans };
&trans &trans &trans &mo N1 &trans &trans };
>;
};
};
}; };