Skip to content

Commit

Permalink
Add hrm back to second layer
Browse files Browse the repository at this point in the history
  • Loading branch information
englmaxi authored Sep 14, 2024
1 parent add1e95 commit 7a0de5a
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 9 deletions.
24 changes: 24 additions & 0 deletions config/keymap/behaviors.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,30 @@
tapping-term-ms = <220>;
bindings = <&kp>, <&sel_line>;
};

ht_ptd: hold_tap_p_tab_desk {
compatible = "zmk,behavior-hold-tap";
#binding-cells = <2>;
flavor = "balanced";
tapping-term-ms = <280>;
bindings = <&kp>, <&p_tab_desk>;
};

ht_ntd: hold_tap_n_tab_desk {
compatible = "zmk,behavior-hold-tap";
#binding-cells = <2>;
flavor = "balanced";
tapping-term-ms = <280>;
bindings = <&kp>, <&n_tab_desk>;
};

ht_at: hold_tap_alt_tabber {
compatible = "zmk,behavior-hold-tap";
#binding-cells = <2>;
flavor = "balanced";
tapping-term-ms = <280>;
bindings = <&kp>, <&alt_tabber>;
};
};
};

Expand Down
18 changes: 9 additions & 9 deletions config/keymap/keymap.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@
navigation_layer {
display-name = "NAV";
bindings = <LAYER_FROM34( \
// ╭─────────────┬───────────────┬──────────────────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
&none, &ht_sl LC(A) 0, &kp LC(F), &sel_word, CLOSE, &kp PG_UP, CT(HOME), &kp UP, CT(END), &none, \
// ├─────────────┼───────────────┼──────────────────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&none, &p_tab_desk, &alt_tabber, &n_tab_desk, &none, &kp PG_DN, &kp LEFT, &kp DOWN, &kp RIGHT, &kp INS, \
// ├─────────────┼───────────────┼──────────────────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp U_UND, &kp U_CUT, &kp U_CPY, &kp U_PST, &kp U_RDO, &none, &kp BSPC, &kp TAB, &kp DEL, &none, \
// ╰─────────────┴───────────────┴──────────────────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┴─────────────┴─────────────╯
&trans, &trans, &lt NUM RET, &trans \
// ─────────────┴─────────────╯ ╰─────────────┴─────────────╯
// ╭─────────────┬───────────────┬───────────────┬─────────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
&none, &ht_sl LC(A) 0, &kp LC(F), &sel_word, CLOSE, &kp PG_UP, CT(HOME), &kp UP, CT(END), &none, \
// ├─────────────┼───────────────┼───────────────┼─────────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp LGUI, &ht_ptd LALT 0, &ht_at LCTRL 0, &ht_ntd LSHIFT 0, &none, &kp PG_DN, &kp LEFT, &kp DOWN, &kp RIGHT, &kp INS, \
// ├─────────────┼───────────────┼───────────────┼─────────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
&kp U_UND, &kp U_CUT, &kp U_CPY, &kp U_PST, &kp U_RDO, &none, &kp BSPC, &kp TAB, &kp DEL, &none, \
// ╰─────────────┴───────────────┴───────────────┼─────────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┴─────────────┴─────────────╯
&trans, &trans, &lt NUM RET, &trans \
// ╰─────────────────┴─────────────╯ ╰─────────────┴─────────────╯
)>;
};

Expand Down

0 comments on commit 7a0de5a

Please sign in to comment.