add Sys layer
This commit is contained in:
parent
cc57de6b7a
commit
de8df5cce4
1 changed files with 26 additions and 1 deletions
|
|
@ -14,6 +14,7 @@
|
||||||
#define UPP_L 2
|
#define UPP_L 2
|
||||||
#define SYM_L 3
|
#define SYM_L 3
|
||||||
#define NUM_L 4
|
#define NUM_L 4
|
||||||
|
#define SYS_L 5
|
||||||
|
|
||||||
/* Behavior Settings */
|
/* Behavior Settings */
|
||||||
&caps_word {
|
&caps_word {
|
||||||
|
|
@ -42,6 +43,7 @@
|
||||||
, <¯o_press &mo UPP_L>
|
, <¯o_press &mo UPP_L>
|
||||||
, <¯o_pause_for_release>
|
, <¯o_pause_for_release>
|
||||||
, <¯o_release &mo UPP_L>;)
|
, <¯o_release &mo UPP_L>;)
|
||||||
|
|
||||||
ZMK_MACRO(leq,
|
ZMK_MACRO(leq,
|
||||||
wait-ms = <30>;
|
wait-ms = <30>;
|
||||||
tap-ms = <40>;
|
tap-ms = <40>;
|
||||||
|
|
@ -81,6 +83,15 @@
|
||||||
, <¯o_pause_for_release>
|
, <¯o_pause_for_release>
|
||||||
, <¯o_release &mo SYM_L>;)
|
, <¯o_release &mo SYM_L>;)
|
||||||
|
|
||||||
|
ZMK_MACRO(mo_sys,
|
||||||
|
wait-ms = <0>;
|
||||||
|
tap-ms = <0>;
|
||||||
|
bindings
|
||||||
|
= <¯o_tap &kp K_CANCEL>
|
||||||
|
, <¯o_press &mo SYS_L>
|
||||||
|
, <¯o_pause_for_release>
|
||||||
|
, <¯o_release &mo SYS_L>;)
|
||||||
|
|
||||||
combos {
|
combos {
|
||||||
compatible = "zmk,combos";
|
compatible = "zmk,combos";
|
||||||
|
|
||||||
|
|
@ -126,6 +137,7 @@
|
||||||
COMBO(select_all, &kp LC(A), 19 20, NAV_L)
|
COMBO(select_all, &kp LC(A), 19 20, NAV_L)
|
||||||
COMBO(tmux_prefix, &kp LC(A), 22 24, DEF_L UPP_L SYM_L NUM_L)
|
COMBO(tmux_prefix, &kp LC(A), 22 24, DEF_L UPP_L SYM_L NUM_L)
|
||||||
|
|
||||||
|
COMBO(sys_l, &mo_sys, 26 27, NUM_L)
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -159,7 +171,7 @@
|
||||||
// ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
|
// ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
|
||||||
&kp N0 &kp LC(O) &kp HOME &hop &kp PG_UP &kp END &kp LC(I) &kp DLLR
|
&kp N0 &kp LC(O) &kp HOME &hop &kp PG_UP &kp END &kp LC(I) &kp DLLR
|
||||||
&sk LGUI &sk LALT &sk LCTRL &sk LSHFT &kp LC(Z) &kp PG_DN &kp LARW &kp DARW &kp UARW &kp RARW
|
&sk LGUI &sk LALT &sk LCTRL &sk LSHFT &kp LC(Z) &kp PG_DN &kp LARW &kp DARW &kp UARW &kp RARW
|
||||||
&bt BT_NXT &kp LC(X) &kp LC(C) &kp LC(V) &kp TAB &kp LS(TAB) &key_repeat &caps_word
|
&none &kp LC(X) &kp LC(C) &kp LC(V) &kp TAB &kp LS(TAB) &key_repeat &caps_word
|
||||||
// ╰─────────────┴─────────────┴─────────────╮ ╭─────────────┴─────────────┴─────────────╯
|
// ╰─────────────┴─────────────┴─────────────╮ ╭─────────────┴─────────────┴─────────────╯
|
||||||
&trans &trans &kp BSPC &kp DEL
|
&trans &trans &kp BSPC &kp DEL
|
||||||
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯
|
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯
|
||||||
|
|
@ -204,5 +216,18 @@
|
||||||
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────
|
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sys_layer {
|
||||||
|
label = "Sys";
|
||||||
|
bindings = <
|
||||||
|
// ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮
|
||||||
|
&bt BT_PRV &bt BT_CLR &bt BT_NXT &none &none &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2
|
||||||
|
&none &none &none &none &none &none &bt BT_SEL 3 &bt BT_SEL 4 &bt BT_SEL 5 &none
|
||||||
|
&none &reset &none &bootloader &bootloader &none &reset &none
|
||||||
|
// ╰─────────────┴─────────────┴─────────────╮ ╭─────────────┴─────────────┴─────────────╯
|
||||||
|
&none &none &none &none
|
||||||
|
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯
|
||||||
|
>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue