main
 1// Home Row Mods
 2#define KEYS_L LT0 LT1 LT2 LT3 LT4 LT5 LM0 LM1 LM2 LM3 LM4 LM5 LB0 LB1 LB2 LB3 LB4 LB5  // left-hand keys
 3#define KEYS_R RT0 RT1 RT2 RT3 RT4 RT5 RM0 RM1 RM2 RM3 RM4 RM5 RB0 RB1 RB2 RB3 RB4 RB5  // right-hand keys
 4#define THUMBS LH2 LH1 LH0 RH0 RH1 RH2 // thumb keys
 5
 6/* Timerless Home Row Mods */
 7/* https://github.com/urob/zmk-config#timeless-homerow-mods */
 8
 9/* left-hand HRMs */
10ZMK_HOLD_TAP(hml,
11    flavor = "balanced";
12    tapping-term-ms = <280>;
13    quick-tap-ms = <175>;
14    require-prior-idle-ms = <150>;
15    global-quick-tap;
16    bindings = <&kp>, <&kp>;
17    hold-trigger-key-positions = <KEYS_R THUMBS>;
18    hold-trigger-on-release;
19)
20
21/* right-hand HRMs */
22ZMK_HOLD_TAP(hmr,
23    flavor = "balanced";
24    tapping-term-ms = <280>;
25    quick-tap-ms = <175>;
26    require-prior-idle-ms = <150>;
27    global-quick-tap;
28    bindings = <&kp>, <&kp>;
29    hold-trigger-key-positions = <KEYS_L THUMBS>;
30    hold-trigger-on-release;
31)
32
33// homerow mods for î (QWERTY)
34/* ZMK_HOLD_TAP(hrmiq,
35 *     flavor = "balanced";
36 *     tapping-term-ms = <hrm_tap_term>;
37 *     quick-tap-ms = <hrm_quick_tap>;
38 *     global-quick-tap;
39 *     bindings = <&kp>, <&I_CI_Q>;
40 * ) */
41
42// homerow mods for è (QWERTY)
43/* ZMK_HOLD_TAP(hrme,
44 *     flavor = "balanced";
45 *     tapping-term-ms = <hrm_tap_term>;
46 *     quick-tap-ms = <hrm_quick_tap>;
47 *     global-quick-tap;
48 *     bindings = <&kp>, <&E_GR_Q>;
49 * ) */
50
51// homerow mods for ê (Ergo-L)
52/* ZMK_HOLD_TAP(hrmec,
53 *     flavor = "balanced";
54 *     tapping-term-ms = <hrm_tap_term>;
55 *     quick-tap-ms = <hrm_quick_tap>;
56 *     global-quick-tap;
57 *     bindings = <&kp>, <&E_CI_E>;
58 * ) */
59
60// Smart number: hold for NUM layer, tap for numword
61ZMK_HOLD_TAP(smart_num,
62    flavor = "balanced";
63    tapping-term-ms = <200>;
64    quick-tap-ms = <175>;
65    bindings = <&mo>, <&num_word>;
66)
67
68/*
69Local Variables:
70mode: c
71End:
72*/