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 and github-actions[bot] committed Sep 14, 2024
1 parent add1e95 commit 1f9b731
Show file tree
Hide file tree
Showing 8 changed files with 60 additions and 33 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
9 changes: 5 additions & 4 deletions keymap-drawer/akohekohe.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions keymap-drawer/akohekohe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ layers:
- {t: HOME, h: '$$mdi:format-vertical-align-top$$'}
- $$mdi:arrow-up$$
- {t: END, h: '$$mdi:format-vertical-align-bottom$$'}
- ''
- {t: '$$mdi:arrow-left-bold-box$$', s: '$$mdi:arrow-left-bold-box-outline$$'}
- $$mdi:swap-horizontal$$
- {t: '$$mdi:arrow-right-bold-box$$', s: '$$mdi:arrow-right-bold-box-outline$$'}
- $$mdi:microsoft-windows$$
- {t: '$$mdi:arrow-left-bold-box$$', h: ALT, s: '$$mdi:arrow-left-bold-box-outline$$'}
- {t: '&alt_tabber', h: '$$mdi:apple-keyboard-control$$'}
- {t: '$$mdi:arrow-right-bold-box$$', h: '$$mdi:apple-keyboard-shift$$', s: '$$mdi:arrow-right-bold-box-outline$$'}
- ''
- Page Down
- $$mdi:arrow-left$$
Expand Down
9 changes: 5 additions & 4 deletions keymap-drawer/rommana.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions keymap-drawer/rommana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ layers:
- $$mdi:arrow-up$$
- {t: END, h: '$$mdi:format-vertical-align-bottom$$'}
- ''
- ''
- {t: '$$mdi:arrow-left-bold-box$$', s: '$$mdi:arrow-left-bold-box-outline$$'}
- $$mdi:swap-horizontal$$
- {t: '$$mdi:arrow-right-bold-box$$', s: '$$mdi:arrow-right-bold-box-outline$$'}
- $$mdi:microsoft-windows$$
- {t: '$$mdi:arrow-left-bold-box$$', h: ALT, s: '$$mdi:arrow-left-bold-box-outline$$'}
- {t: '&alt_tabber', h: '$$mdi:apple-keyboard-control$$'}
- {t: '$$mdi:arrow-right-bold-box$$', h: '$$mdi:apple-keyboard-shift$$', s: '$$mdi:arrow-right-bold-box-outline$$'}
- ''
- Page Down
- $$mdi:arrow-left$$
Expand Down
9 changes: 5 additions & 4 deletions keymap-drawer/sweep.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions keymap-drawer/sweep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ layers:
- $$mdi:arrow-up$$
- {t: END, h: '$$mdi:format-vertical-align-bottom$$'}
- ''
- ''
- {t: '$$mdi:arrow-left-bold-box$$', s: '$$mdi:arrow-left-bold-box-outline$$'}
- $$mdi:swap-horizontal$$
- {t: '$$mdi:arrow-right-bold-box$$', s: '$$mdi:arrow-right-bold-box-outline$$'}
- $$mdi:microsoft-windows$$
- {t: '$$mdi:arrow-left-bold-box$$', h: ALT, s: '$$mdi:arrow-left-bold-box-outline$$'}
- {t: '&alt_tabber', h: '$$mdi:apple-keyboard-control$$'}
- {t: '$$mdi:arrow-right-bold-box$$', h: '$$mdi:apple-keyboard-shift$$', s: '$$mdi:arrow-right-bold-box-outline$$'}
- ''
- Page Down
- $$mdi:arrow-left$$
Expand Down

0 comments on commit 1f9b731

Please sign in to comment.