reorder macros

This commit is contained in:
Crispy 2022-12-03 20:30:28 +01:00
parent ad76fc2eb0
commit 7d879c3ad0

View file

@ -51,6 +51,13 @@ ZMK_UNICODE_PAIR(win_multi_o, A, N6, N6, E, F, F, F, D) // multiocular o
/ { / {
behaviors { behaviors {
esctab: shift_esc_tab {
compatible = "zmk,behavior-mod-morph";
label = "";
#binding-cells = <0>;
bindings = <&kp ESC>, <&kp TAB>;
mods = <(MOD_LSFT)>;
};
escape: fancy_esc_key { escape: fancy_esc_key {
// activate esc-tab macro if not holding ctrl, this allows ctrl-shift-esc but turns shift-esc into tab // activate esc-tab macro if not holding ctrl, this allows ctrl-shift-esc but turns shift-esc into tab
compatible = "zmk,behavior-mod-morph"; compatible = "zmk,behavior-mod-morph";
@ -60,13 +67,6 @@ ZMK_UNICODE_PAIR(win_multi_o, A, N6, N6, E, F, F, F, D) // multiocular o
mods = <(MOD_LCTRL)>; mods = <(MOD_LCTRL)>;
keep-mods = <(MOD_LCTRL)>; keep-mods = <(MOD_LCTRL)>;
}; };
esctab: shift_esc_tab {
compatible = "zmk,behavior-mod-morph";
label = "";
#binding-cells = <0>;
bindings = <&kp ESC>, <&kp TAB>;
mods = <(MOD_LSFT)>;
};
}; };
}; };