Skip to content

Commit

Permalink
move mods to layers & update behaviors
Browse files Browse the repository at this point in the history
  • Loading branch information
280Zo committed Aug 15, 2024
1 parent 5300b5b commit 2ba18c3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 15 deletions.
23 changes: 9 additions & 14 deletions config/charybdis.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,19 @@
compatible = "zmk,behavior-tap-dance";
#binding-cells = <0>;
bindings = <&httl 9 7>, <&tog 0>;

tapping-term-ms = <200>;
label = "Trackball & Scroll";
};

tdtb2: td_slow_scroll {
compatible = "zmk,behavior-tap-dance";
#binding-cells = <0>;
bindings = <&httl 9 8>, <&tog 0>;
label = "Scroll Slow & Base";
};

httl: ht_two_layers {
compatible = "zmk,behavior-hold-tap";
bindings = <&mo>, <&tog>;

#binding-cells = <2>;
flavor = "balanced";
tapping-term-ms = <200>;
Expand All @@ -44,15 +48,6 @@
#binding-cells = <0>;
bindings = <&mo 6>, <&to 0>;
};

tdtb2: td_scroll_slow {
compatible = "zmk,behavior-tap-dance";
#binding-cells = <0>;
bindings = <&httl 9 8>, <&tog 0>;

tapping-term-ms = <200>;
label = "Scroll Slow & Base";
};
};

combos {
Expand Down Expand Up @@ -134,7 +129,7 @@
&kp N1 &kp TAB &kp Q &kp W &kp E &kp R &none &none &none &none &none &to 0
&kp N2 &kp LCTRL &kp A &kp S &kp D &kp F &none &none &none &none &none &none
&kp N3 &kp LSHFT &kp Z &kp X &kp C &kp V &none &none &none &none &none &trans
&none &kp SPACE &kp LEFT_ALT &none &none
&trans &kp SPACE &kp LEFT_ALT &none &none
>;
};

Expand All @@ -143,7 +138,7 @@
&trans &kp LA(LC(LS(Z))) &kp LA(LC(LS(E))) &kp LA(LC(LS(A))) &kp LA(LC(LS(S))) &kp LA(LC(LS(B))) &none &none &none &none &none &none
&kp LC(LA(E)) &kp LEFT &kp DOWN &kp UP &kp RIGHT &kp LCTRL &none &none &none &none &none &none
&kp LS(DELETE) &kp LA(LS(A)) &kp LA(KP_N1) &kp LA(KP_N2) &kp LA(KP_N3) &none &none &none &none &none &none &trans
&none &none &trans &trans &trans
&trans &none &trans &trans &trans
>;
};

Expand Down
2 changes: 1 addition & 1 deletion keymap-drawer/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ draw_config:
key_ry: 6.0
dark_mode: auto
n_columns: 1
separate_combo_diagrams: true
separate_combo_diagrams: false
combo_diagrams_scale: 2
inner_pad_w: 2.0
inner_pad_h: 2.0
Expand Down

0 comments on commit 2ba18c3

Please sign in to comment.