From ff2deb1c7bf428f8f7736e6d492edeb531702b89 Mon Sep 17 00:00:00 2001 From: "keymap-editor[bot]" <91849743+keymap-editor[bot]@users.noreply.github.com> Date: Sun, 22 Sep 2024 20:03:02 +0000 Subject: [PATCH] Trying 'tmux_cmd' macro #7 --- config/adv360.keymap | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/config/adv360.keymap b/config/adv360.keymap index bfd63ae4e0..0e8de85017 100644 --- a/config/adv360.keymap +++ b/config/adv360.keymap @@ -26,6 +26,13 @@ label = "TMUX_WIN_CLOSE"; }; + tmux_cmd: tmux_cmd { + compatible = "zmk,behavior-macro-one-param"; + #binding-cells = <1>; + bindings = <&kp LC(B) ¯o_param_1to1 &kp MACRO_PLACEHOLDER>; + label = "TMUX_CMD"; + }; + hm: homerow_mods { compatible = "zmk,behavior-hold-tap"; label = "HOMEROW_MODS"; @@ -57,7 +64,7 @@ fn { bindings = < &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &none &mo 0 &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 -&kp F12 &tmux_win_close &trans &trans &trans &trans &none &none &trans &trans &trans &trans &trans &kp F11 +&kp F12 &tmux_cmd LS(X) &trans &trans &trans &trans &none &none &trans &trans &trans &trans &trans &kp F11 &trans &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &none &trans &trans &trans &trans &none &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &trans &trans &kp LS(F1) &kp LS(F2) &kp LS(F3) &kp LS(F4) &kp LS(F5) &trans &trans &kp LS(F6) &kp RS(F7) &kp RS(F8) &kp LS(F9) &kp LS(F10) &trans &trans &trans &trans &kp C_PREV &kp C_NEXT &trans &trans &trans &trans &trans &kp C_PLAY_PAUSE &kp C_BRIGHTNESS_DEC &kp C_BRIGHTNESS_INC &kp C_VOLUME_DOWN &kp C_VOLUME_UP &trans