Skip to content

Commit

Permalink
Update hummingbird.keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
Patches-weaver committed Dec 19, 2023
1 parent 24372a5 commit 91880d6
Showing 1 changed file with 21 additions and 35 deletions.
56 changes: 21 additions & 35 deletions config/hummingbird.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -39,41 +39,27 @@
╰───────────╮ 26 27 │ │ 28 29 ╭───────────╯
╰────────╯ ╰────────╯ */

// Using layer taps on thumbs, having quick tap as well helps w/ repeating space/backspace
&lt { quick_tap_ms = <200>; };

/ {
behaviors {
hm: homerow_mods {
compatible = "zmk,behavior-hold-tap";
label = "homerow mods";
#binding-cells = <2>;
tapping_term_ms = <225>;
flavor = "tap-preferred";
bindings = <&kp>, <&kp>;
};
};

combos {
compatible = "zmk,combos";
combo_z {
timeout-ms = <50>;
key-positions = <0 10>;
bindings = <&kp Z>;
};
combo_b {
timeout-ms = <50>;
key-positions = <4 14>;
bindings = <&kp B>;
};

combo_n {
timeout-ms = <50>;
key-positions = <5 15>;
bindings = <&kp N>;
};
};
};
/* left-hand HRMs */
ZMK_BEHAVIOR(hml, hold_tap,
flavor = "balanced";
tapping-term-ms = <280>;
quick-tap-ms = <175>; // repeat on tap-into-hold
require-prior-idle-ms = <150>;
bindings = <&kp>, <&kp>;
hold-trigger-key-positions = <KEYS_R THUMBS>;
hold-trigger-on-release; // delay positional check until key-release
)

/* right-hand HRMs */
ZMK_BEHAVIOR(hmr, hold_tap,
flavor = "balanced";
tapping-term-ms = <280>;
quick-tap-ms = <175>; // repeat on tap-into-hold
require-prior-idle-ms = <150>;
bindings = <&kp>, <&kp>;
hold-trigger-key-positions = <KEYS_L THUMBS>;
hold-trigger-on-release; // delay positional check until key-release
)

/ {
keymap {
Expand Down

0 comments on commit 91880d6

Please sign in to comment.