Skip to content

Commit

Permalink
Brought back &mnav to cancel mouse layer
Browse files Browse the repository at this point in the history
  • Loading branch information
ldebritto committed Feb 19, 2025
1 parent 16fbfb2 commit 0d09d65
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion config/cradio.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,16 @@
<&mo MACRO_PLACEHOLDER>;
};

mnav: from_layer_to_nav_through_def { // Disables any toggled layer and goes to NAV on hold
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
bindings
= <&macro_tap &to DEF>,
<&macro_press &lc NAV>,
<&macro_pause_for_release>,
<&macro_release &lc NAV>;
};

};

conditional_layers {
Expand Down Expand Up @@ -348,7 +358,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
&trans &kp SPACE &mkp LCLK &mkp RCLK
&mnav &kp SPACE &mkp LCLK &mkp RCLK
>;
};

Expand Down

0 comments on commit 0d09d65

Please sign in to comment.