Skip to content

Commit

Permalink
nav
Browse files Browse the repository at this point in the history
  • Loading branch information
potter-man committed Oct 4, 2024
1 parent df17553 commit 696f8bf
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions config/boards/shields/ergonaut_one/ergonaut_one.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
#include <dt-bindings/zmk/outputs.h>

#define DEF 0
#define LWR 1
#define RSE 2
#define CON 3
#define NUM 1
#define SYM 2
#define NAV 3
#define CON 5

&lt {
quick-tap-ms = <200>;
quick-tap-ms = <150>;
};

&mt {
Expand All @@ -18,28 +19,18 @@

/ {
behaviors {
mtb: balanced_homerow_mods {
hmt: homerow_mods {
compatible = "zmk,behavior-hold-tap";
#binding-cells = <2>;
tapping-term-ms = <250>;
quick-tap-ms = <0>;
flavor = "balanced";
flavor = "tap-preferred";
bindings = <&kp>, <&kp>;
};
};

combos {
compatible = "zmk,combos";
combo_bspc {
layers = <DEF>;
key-positions = <10 11>;
bindings = <&kp BSPC>;
};
combo_ret {
layers = <DEF>;
key-positions = <22 23>;
bindings = <&kp RET>;
};
combo_con_layer_l {
layers = <DEF>;
key-positions = <36 37 38>;
Expand All @@ -57,27 +48,36 @@

default_layer {
bindings = <
&mt GRAVE TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT
&mt LCTRL ESC &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &mt RCTRL SQT
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &mtb RBKT M &kp COMMA &kp DOT &kp FSLH &mt RSHFT BSLH
&mt LALT ESC &mt LCMD SPACE &lt LWR TAB &lt RSE BSPC &mt RCMD SPACE &mt RALT RET
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT
&lt NAV ESC &kp A &hmt LCTRL S &hmt LALT D &hmt LCMD F &kp G &kp H &hmt RCMD J &hmt RALT K &hmt RCTRL L &kp SEMI &kp SQT
&kp MINUS &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp EQUAL
&lt NUM LC(LA(COMMA)) &mt LSHFT SPACE &mt NAV BSPC &mt NAV RET &mt RSHFT SPACE &lt SYM LC(LA(PERIOD))
>;
};

num_layer {
bindings = <
&none &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &none
&none &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &none
&none &kp F11 &kp F12 &none &none &none &none &none &none &none &none &none
&trans &trans &trans &trans &trans &trans
>;
};

lower_layer {
sym_layer {
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
&kp C_BRI_DEC &kp C_BRI_INC &none &none &none &none &kp C_PREV &kp C_PP &kp C_NEXT &kp C_MUTE &kp C_VOL_DN &kp C_VOL_UP
&none &none &none &none &none &none &none &none &none &none &none &none
&kp GRAVE &kp C_BRI_DEC &kp C_BRI_INC &none &kp C_AC_SEARCH &kp C_VOICE_COMMAND &none &kp C_PREV &kp C_PP &kp C_NEXT &kp C_VOL_DN &kp C_VOL_UP
&kp TILDE &kp EXCLAMATION &kp AT_SIGN &kp HASH &kp DOLLAR &kp PERCENT &kp CARET &kp AMPERSAND &kp ASTERISK &kp PIPE &none &none
&none &none &kp LT &kp LBRC &kp LBKT &kp LPAR &kp RPAR &kp RBKT &kp RBRC &kp GT &kp BSLH &none
&trans &trans &trans &trans &trans &trans
>;
};

raise_layer {
nav_layer {
bindings = <
&kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp MINUS &kp EQUAL
&trans &none &none &none &none &none &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp LBKT &kp RBKT
&trans &none &none &none &none &none &none &none &kp COMMA &kp DOT &kp FSLH &trans
&none &none &none &none &kp PG_UP &kp TAB &kp LA(BSPC) &kp LA(LEFT) &kp UP &kp LA(RIGHT) &kp LA(DEL) &kp ESC
&none &none &kp LCTRL &kp LALT &kp LCMD &none &kp BSPC &kp LEFT &kp DOWN &kp RIGHT &kp DEL &none
&none &none &none &none &kp PG_DN &none &none &kp RET &kp LG(LBKT) &kp LG(RBKT) &none &none
&trans &trans &trans &trans &trans &trans
>;
};
Expand Down

0 comments on commit 696f8bf

Please sign in to comment.