Skip to content

Commit

Permalink
MNAV as a hold-tap instead of a macro
Browse files Browse the repository at this point in the history
  • Loading branch information
ldebritto committed Feb 19, 2025
1 parent 0d09d65 commit 63d9127
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion config/cradio.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,19 @@
quick-tap-ms = <200>;
require-prior-idle-ms = <175>;
};

// Layer-tap do escape from MOU to DEF on tap

mlt: mouse_layer_tap_cancel {
compatible = "zmk,behavior-hold-tap";
label = "MTL";
bindings = <&mo>, <&to>;
#binding-cells = <2>;
flavor = "hold-preferred";
tapping-term-ms = <150>;
};

#define MNAV &mlt NAV DEF

};

Expand Down Expand Up @@ -358,7 +371,7 @@
&kp TAB &kp LC(UP) &kp LS(LC(TAB)) &kp LC(TAB) &kp LG(RBKT) &msc SCRL_DOWN &msc SCRL_RIGHT &mmv MOVE_UP &msc SCRL_LEFT &kp BSPC
&kp LCTRL &kp LALT &kp LSHFT &kp LGUI &kp LG(LBKT) &msc SCRL_UP &mmv MOVE_LEFT &mmv MOVE_DOWN &mmv MOVE_RIGHT &kp ENTER
&hrml GLOBE LG(Z) &kp LG(X) &kp LG(C) &kp LG(V) &kp F18 &playnp &mkp MCLK &vb_dn &vb_up &kp DEL
&mnav &kp SPACE &mkp LCLK &mkp RCLK
MNAV &kp SPACE &mkp LCLK &mkp RCLK
>;
};

Expand Down

0 comments on commit 63d9127

Please sign in to comment.