added fun from atreus

implemented symbol layer
still need:
- caps word
- combos
- nav layer
- pipe chara
This commit is contained in:
Anish Lakhwara 2024-09-29 02:21:25 -07:00
parent e3015ce454
commit 73fd1ab8eb

View file

@ -17,10 +17,11 @@
// Layer definitions
#define BASE 0
#define SYM 1
#define EXT 2
#define FNC 3
#define SETTINGS 4
#define NUM 1
#define SYM 2
#define NAV 3
#define FNC 4
#define SETTINGS 5
/* Homerow mods */
@ -121,6 +122,11 @@
combos {
compatible = "zmk,combos";
// both right thumb keys
combo_accent {
timeout-ms = <200>;
key-positions = <32 33>;
bindings = <&kp ESC>;
};
// internal-left & external-right thumb keys
// both left thumb keys
combo_settings {
@ -144,32 +150,43 @@
default_layer {
label = "Base";
bindings = <
&kp DOT &kp COMMA &kp DOT &kp P &kp Y &kp F &kp G &kp C &kp R &kp L
&kp SQT &kp COMMA &kp DOT &kp P &kp Y &kp F &kp G &kp C &kp R &kp L
&hml LCTRL A &hml LALT O &hml LSHIFT E &hml LGUI U &kp I &kp D &hmr RGUI H &hmr RSHIFT T &hmr RALT N &hmr RCTRL S
&kp SCLN &kp Q &kp J &kp K &kp X &kp B &kp M &kp W &kp V &kp Z
&mt LALT SPC &mt LGUI TAB &mt LSHIFT RET &mt LCTRL BSPC
&lt NUM SPC &lt SYM BSPC &lt NAV TAB &lt FNC RET
>;
};
// Numbers and high frequency symbols
sym_layer {
label = "Sym.";
num_layer {
label = "Num.";
bindings = <
&none &none &none &none &none &none &kp N7 &kp N8 &kp N9 &none
&none &none &none &none &none &none &kp N4 &kp N5 &kp N6 &none
&none &none &none &none &none &kp MINUS &kp N7 &kp N8 &kp N9 &none
&trans &trans &trans &trans &none &kp KP_PLUS &kp N4 &kp N5 &kp N6 &kp EQUAL
&none &none &none &none &none &kp N0 &kp N1 &kp N2 &kp N3 &none
&mo FNC &none &trans &trans
>;
};
// Main modifiers and arrow keys
ext_layer {
label = "Mods";
// Symbols
sym_layer {
label = "Sym.";
bindings = <
&kp ESC &kp C_PREV &kp C_PP &kp C_NEXT &kp C_PAUSE &kp PG_UP &kp HOME &kp UP &kp END &kp CAPS
&sk LALT &sk LGUI &sk LSHIFT &sk LCTRL &kp RALT &kp PG_DN &kp LEFT &kp DOWN &kp RIGHT &kp DEL
&kp LC(Z) &kp LC(X) &kp LC(C) &kp TAB &kp LC(V) &kp LC(BSPC) &kp BSPC &trans &trans &trans
&trans &kp LCTRL &kp ENTER &mo FNC
&none &none &none &none &none &kp MINUS &kp AMPS &kp STAR &kp N9 &kp FSLH
&trans &trans &trans &trans &none &kp GRAVE &kp DLLR &kp PRCNT &kp CARET &kp QUESTION
&none &none &none &none &none &kp TILDE &kp EXCL &kp AT &kp HASH &kp BSLH
&trans &trans &trans &trans
>;
};
// Main modifiers and arrow keys
nav_layer {
label = "Nav.";
bindings = <
&none &none &none &none &none &none &none &none &none &none
&trans &trans &trans &trans &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none
&trans &trans &trans &trans
>;
};
@ -177,10 +194,10 @@
fnc_layer {
label = "FRow";
bindings = <
&kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10
&sk LALT &sk LGUI &sk LSHIFT &sk LCTRL &kp RALT &kp F11 &kp F12 &kp PRINTSCREEN &trans &trans
&none &none &none &none &none &none &none &none &none &none
&none &none &none &none
&kp EXCL &kp AT &kp UP &kp DLLR &kp PRCNT &none &none &none &none &none
&kp LPAR &kp LEFT &kp DOWN &kp RIGHT &kp RPAR &none &none &none &none &none
&kp LBKT &kp RBKT &kp HASH &kp LBRC &kp RBRC &none &none &none &none &none
&none &none &trans &trans
>;
};