Skip to content

Commit

Permalink
b
Browse files Browse the repository at this point in the history
  • Loading branch information
ochief committed Dec 8, 2024
1 parent 03a06b3 commit ea27352
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
12 changes: 3 additions & 9 deletions config/behaviors.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,6 @@
};

/******************** HOLD TAPS *********************/
hm: homerow_mod {
compatible = "zmk,behavior-hold-tap";
#binding-cells = <2>;
tapping-term-ms = <250>;
quick-tap-ms = <250>;
flavor = "tap-preferred";
bindings = <&kp>, <&kp>;
};

ht: hold_tap {
compatible = "zmk,behavior-hold-tap";
#binding-cells = <2>;
Expand All @@ -44,13 +35,15 @@
bindings = <&mo>, <&sk>;
};

/******************** HOME ROW MODS *****************/
hml: home-row-left {
compatible = "zmk,behavior-hold-tap";
label = "HOME_ROW_LEFT";
#binding-cells = <2>;
flavor = "balanced";
tapping-term-ms = <280>;
quick-tap-ms = <175>; // double tapping same key allows for repeating
global-quick-tap-ms = <60>; // without PR #1387 use global-quick-tap instead
bindings = <&kp>, <&kp>;
hold-trigger-key-positions = <KEYS_R THUMBS>;
hold-trigger-on-release; // delay positional check until key-release
Expand All @@ -63,6 +56,7 @@
flavor = "balanced";
tapping-term-ms = <280>;
quick-tap-ms = <175>; // double tapping same key allows for repeating
global-quick-tap-ms = <60>; // without PR #1387 use global-quick-tap instead
bindings = <&kp>, <&kp>;
hold-trigger-key-positions = <KEYS_L THUMBS>;
hold-trigger-on-release; // delay positional check until key-release
Expand Down
4 changes: 2 additions & 2 deletions config/defines.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#define NAV_SWAP &hml LSFT LC(LA(TAB))
#define NAV_INCOG &hml LALT LC(N)
#define NAV_SCREENS &hml LGUI LG(LS(S))
#define NAV_COPY &hm RSFT LC(C)
#define NAV_COPY &hml RSFT LC(C)

#define NAV_SEL_LI &kp LA(LS(I))
#define NAV_TAB_LE &kp LC(PG_UP)
Expand Down Expand Up @@ -80,7 +80,7 @@
#define NUM_UNDER &hml LSFT UNDER
#define NUM_STAR &hml LALT STAR
#define NUM_PERCENT &hml LGUI PERCENT
#define NUM_PIPE &hm RSFT UK_PIPE
#define NUM_PIPE &hml RSFT UK_PIPE

// miscellaneous
#define MIS_BT_1 &bt BT_SEL 1
Expand Down

0 comments on commit ea27352

Please sign in to comment.