-
Corne
-
With nice!nano v2 controller
-
Colemak-DHm keyboard layout
-
German layouts
-
https://github.com/bcat/zmk-config/blob/master/config/corne.keymap shows how to do conditional_layers
-
Ben Vallak's crazy map: https://github.com/benvallack/zmk-config/blob/84ae125986b18e1e6dfb1f2a6a15777429f29520/config/cradio.keymap
#include <behaviors.dtsi> #include <dt-bindings/zmk/keys.h> #include <dt-bindings/zmk/bt.h> #include <dt-bindings/zmk/mouse.h>
&mt { flavor = "tap-preferred"; tapping_term_ms = <200>; };
&mmv { time-to-max-speed-ms = <680>; acceleration-exponent=<2>; }; / {
behaviors {
hm: homerow_mods {
compatible = "zmk,behavior-hold-tap";
label = "HOMEROW_MODS";
#binding-cells = <2>;
tapping-term-ms = <200>;
quick_tap_ms = <0>;
flavor = "tap-preferred";
bindings = <&kp>, <&kp>;
};
td: tapdance {
compatible = "zmk,behavior-hold-tap";
label = "TAPDANCE";
#binding-cells = <2>;
tapping-term-ms = <150>;
quick_tap_ms = <0>;
flavor = "tap-preferred";
bindings = <&kp>, <&kp>;
};
};
keymap {
compatible = "zmk,keymap";
default_layer {
bindings = <
&kp Y &kp C &kp L &kp M &kp K &kp Z &kp F &kp U &td MINUS COMMA &kp BKSP
&kp I &kp S &hm LALT R &hm LGUI T &kp G &kp P &hm RGUI N &hm RALT E &kp A &kp O
&kp Q &kp V &kp W &kp D &kp J &kp B &kp H &td UNDERSCORE SLASH &td EXCL DOT &kp X
&mt LC(LS(LALT)) SPC &sk LSHIFT &sk RCTRL &to 1
>;
};
left_layer {
bindings = <
&kp ESC &kp ATSN &none &kp DLLR &kp PRCNT &kp CARET &kp LS(COMMA) &kp LS(DOT) &kp SEMI &kp BKSP
&kp TAB &kp EQUAL &kp LA(RBKT) &kp LA(LS(RBKT)) &kp SQT &kp BSLH &kp LBRC &kp RBRC &kp PIPE &kp ENTER
&kp TILDE &kp LA(N3) &kp LA(LBKT) &kp LA(LS(LBKT)) &kp DQT &kp LBKT &kp LPRN &kp RPRN &kp RBKT &to 3
&to 0 &sk LSHIFT &sk RALT &to 2
>;
};
right_layer {
bindings = <
&kp ESC &kp C_PP &kp C_PREV &kp C_NEXT &kp LS(MINUS) &kp MINUS &kp N7 &kp N8 &kp N9 &trans
&kp TAB &trans &kp C_VOL_DN &kp C_VOL_UP &kp LS(EQUAL) &kp EQUAL &kp N4 &kp N5 &kp N6 &kp ENTER
&to 4 &kp AMPS &kp SLASH &kp STAR &kp DOT &kp N0 &kp N1 &kp N2 &kp N3 &trans
&to 0 &sk LGUI &sk RALT &to 2
>;
};
tri_layer {
bindings = <
&trans &mwh SCROLL_LEFT &mmv MOVE_UP &mwh SCROLL_RIGHT &kp NUM_5 &kp LG(LBKT) &kp LC(LS(TAB)) &kp RC(TAB) &kp LG(RBKT) &trans
&kp F1 &mmv MOVE_LEFT &mmv MOVE_DOWN &mmv MOVE_RIGHT &kp DEL &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp ENTER
&td LG(GRAVE) GRAVE &mkp RCLK &mwh SCROLL_UP &mwh SCROLL_DOWN &trans &mkp LCLK &kp PG_DN &kp K_VOL_DN &trans &trans
&to 0 &trans &sk RALT &to 1
>;
};
bt {
bindings = <
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&bt BT_PRV &bt BT_NXT &bt BT_CLR &trans &trans &trans &trans &trans &trans &trans
&to 0 &trans &trans &to 1
>;
};
};
};