Add missing and fix some existing keys

This commit is contained in:
Tony Grosinger 2022-05-19 08:52:58 -07:00
parent febfa887dd
commit 6cb4d21879

View File

@ -56,14 +56,29 @@
};
combo_minus {
timeout-ms = <50>;
key-positions = <17 18>;
key-positions = <7 8>;
bindings = <&kp MINUS>;
};
combo_backslash {
timeout-ms = <50>;
key-positions = <18 19>;
key-positions = <8 9>;
bindings = <&kp BACKSLASH>;
};
combo_less_than {
timeout-ms = <50>;
key-positions = <15 16>;
bindings = <&kp LT>;
};
combo_greater_than {
timeout-ms = <50>;
key-positions = <17 18>;
bindings = <&kp GT>;
};
combo_colon {
timeout-ms = <50>;
key-positions = <16 17>;
bindings = <&kp COLON>;
};
combo_quote {
timeout-ms = <50>;
key-positions = <25 26>;
@ -215,6 +230,30 @@
, <&macro_tap &kp LC(T)>
;
};
term_full: term_full {
label = "ZM_term_full";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&macro_tap &kp LC(TILDE)>
;
};
desk_left: desk_left {
label = "ZM_desk_left";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&macro_tap &kp LC(LG(LEFT))>
;
};
desk_right: desk_right {
label = "ZM_desk_right";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&macro_tap &kp LC(LG(RIGHT))>
;
};
};
keymap {
@ -227,9 +266,9 @@
default_layer {
bindings = <
&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P
&kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI
&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp SLASH
&none &mo NUM_L &kp LSHIFT &kp SPACE &mo SYM_L &mo TMUX_L
&hm LCTL A &kp S &kp D &kp F &kp G &kp H &hm LGUI J &kp K &kp L &hm RCTL SEMI
&hm LALT Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp SLASH
&mo NUM_L &kp LSHIFT &kp ESC &mo TMUX_L &kp SPACE &mo SYM_L
>;
};
@ -237,9 +276,9 @@
label = "Num";
bindings = <
&kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0
&trans &trans &kp LG(E) &kp LG(R) &trans &trans &kp N4 &kp N5 &kp N6 &kp COLON
&trans &desk_left &kp LG(E) &kp LG(R) &desk_right &trans &kp N4 &kp N5 &kp N6 &kp COLON
&kp F1 &kp F2 &kp F12 &kp F4 &kp F5 &trans &kp N1 &kp N2 &kp N3 &kp DOT
&none &none &none &none &none &none
&none &none &none &none &none &kp N0
>;
};
@ -247,8 +286,8 @@
label = "Sym";
bindings = <
&kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp ASTRK &kp PLUS &kp EQUAL
&kp COLON &kp LT &kp LS(N5) &kp LS(N6) &kp GT &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans
&kp COLON &kp LBRC &kp LBKT &kp RBKT &kp RBRC &kp HOME &kp PG_DN &kp PG_UP &kp END &trans
&kp COLON &none &kp LPAR &kp RPAR &none &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans
&none &kp LBRC &kp LBKT &kp RBKT &kp RBRC &kp HOME &kp PG_DN &kp PG_UP &kp END &trans
&none &none &none &none &none &none
>;
};
@ -257,7 +296,7 @@
label = "Tmux";
bindings = <
&vi_macro &vi_save &none &none &tmux_sp_v &vi_clip_cp &none &none &none &vi_clip_pst
&none &tmux_scroll &none &none &none &tmux_pn_lt &tmux_pn_dn &tmux_pn_up &tmux_pn_rt &tmux_sp_h
&none &tmux_scroll &none &term_full &none &tmux_pn_lt &tmux_pn_dn &tmux_pn_up &tmux_pn_rt &tmux_sp_h
&tmux_zoom &none &tmux_new &none &none &tmux_wn_prev &none &none &tmux_wn_next &none
&none &kp DEL &none &none &none &none
>;