Skip to content

Commit

Permalink
Behaviour tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
trankillity committed May 13, 2024
1 parent 0c6e163 commit 2a9b34e
Showing 1 changed file with 18 additions and 14 deletions.
32 changes: 18 additions & 14 deletions config/ffkb_v3.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
release-after-ms = <750>;
};

&lt {
tapping-term-ms = <150>;
};

/ {

sensors {
Expand All @@ -38,21 +42,21 @@
};

behaviors {
// hm: homerow_mods {
// compatible = "zmk,behavior-hold-tap";
// #binding-cells = <2>;
// tapping-term-ms = <175>;
// flavor = "tap-preferred";
// bindings = <&kp>, <&kp>;
// };
skq: sticky_key_quick_release {
compatible = "zmk,behavior-sticky-key";
#binding-cells = <1>;
bindings = <&kp>;
quick-release;
ignore-modifiers;
};
hml: homerow_modsl {
compatible = "zmk,behavior-hold-tap";
#binding-cells = <2>;
bindings = <&kp>, <&kp>;
flavor = "balanced";
tapping-term-ms = <280>;
tapping-term-ms = <300>;
quick-tap-ms = <175>;
require-prior-idle-ms = <150>;
require-prior-idle-ms = <200>;
hold-trigger-key-positions = <6 7 8 9 10 11 18 19 20 21 22 23 30 31 32 33 34 35 36 37 38 39 40 41 42 43>;
hold-trigger-on-release;
};
Expand All @@ -61,17 +65,17 @@
#binding-cells = <2>;
bindings = <&kp>, <&kp>;
flavor = "balanced";
tapping-term-ms = <280>;
tapping-term-ms = <300>;
quick-tap-ms = <175>;
require-prior-idle-ms = <150>;
require-prior-idle-ms = <200>;
hold-trigger-key-positions = <0 1 2 3 4 5 12 13 14 15 16 17 24 25 26 27 28 29 36 37 38 39 40 41 42 43>;
hold-trigger-on-release;
};
spc_caps: space_capsword {
compatible = "zmk,behavior-tap-dance";
#binding-cells = <0>;
tapping-term-ms = <175>;
bindings = <&sk LSHIFT>, <&caps_word>;
bindings = <&skq LSHIFT>, <&caps_word>;
};
csemi: comma_semicolon {
compatible = "zmk,behavior-mod-morph";
Expand Down Expand Up @@ -126,7 +130,7 @@
sensor-bindings = <&inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN &inc_dec_kp C_VOLUME_UP C_VOLUME_DOWN>;

bindings = <
&kp ESC &kp K_APP &kp HOME &kp UP &kp END &kp PG_UP &kp INS &swap_next &swap_prev &kp C_BRI_UP &kp C_BRI_DN &none
&kp ESC &kp INS &kp HOME &kp UP &kp END &kp PG_UP &kp K_APP &swap_next &swap_prev &kp C_BRI_UP &kp C_BRI_DN &none
&kp TAB &kp LC(A) &kp LEFT &kp DOWN &kp RIGHT &kp PG_DN &kp C_VOL_UP &sk RSHIFT &sk RCTL &sk RALT &sk RGUI &kp LS(TAB)
&none &kp LC(Z) &kp LC(X) &kp LC(C) &kp LC(V) &kp LC(Y) &kp C_VOL_DN &kp C_PREV &kp C_PP &kp C_NEXT &kp C_STOP &kp C_MUTE
&trans &trans &trans &kp DEL &trans &trans &trans &trans
Expand All @@ -140,7 +144,7 @@
&kp F6 &kp F5 &kp F4 &kp F3 &kp F2 &kp F1 &kp EQUAL &kp N7 &kp N8 &kp N9 &kp DOT &kp COMMA
&kp TAB &sk LGUI &sk LALT &sk LCTL &sk LSHIFT &kp PG_DN &kp PLUS &kp N4 &kp N5 &kp N6 &kp ASTRK &kp GRAVE
&kp F12 &kp F11 &kp F10 &kp F9 &kp F8 &kp F7 &kp MINUS &kp N1 &kp N2 &kp N3 &kp FSLH &none
&trans &trans &trans &trans &trans &kp N0 &trans &trans
&trans &trans &trans &trans &trans &trans &lt NAVI N0 &trans
>;
};

Expand Down

0 comments on commit 2a9b34e

Please sign in to comment.