From ebfe3a2f47b5d0b0b2012b8e5e87e9967a05d29e Mon Sep 17 00:00:00 2001 From: urob <978080+urob@users.noreply.github.com> Date: Mon, 11 Jul 2022 11:18:12 -0400 Subject: [PATCH] Rename DUMMY to CANCEL --- config/base.keymap | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/base.keymap b/config/base.keymap index 117e496..d4dbe46 100644 --- a/config/base.keymap +++ b/config/base.keymap @@ -5,7 +5,7 @@ #define ___ &trans #define DSK_PREV &kp LG(LC(LEFT)) #define DSK_NEXT &kp LG(LC(RIGHT)) -#define DUMMY &kp K_CANCEL // cancels caps_word and does nothing else +#define CANCEL &kp K_CANCEL // cancels caps_word and does nothing else #define DEF 0 #define NAV 1 @@ -71,7 +71,7 @@ TODOs and ISSUES bindings = <&kp LG(X) &kp U &kp S>; }; - // Make sticky shift cancel capsword. Alternatively: mod-morph ss_cw into DUMMY + // Make sticky shift cancel capsword. Alternatively: mod-morph ss_cw into CANCEL // to cancel capsword without triggering sticky-shift when capsword is active. sticky_shift: sticky_shift { wait-ms = <0>; @@ -79,7 +79,7 @@ TODOs and ISSUES compatible = "zmk,behavior-macro"; label = "STICKY_SHIFT_CANCEL_CAPSWORD"; #binding-cells = <0>; - bindings = <¯o_tap DUMMY> // cancel caps_word; + bindings = <¯o_tap CANCEL> // cancel caps_word; , <¯o_press &sk LSHFT> // then tap sticky-shift and hold , <¯o_pause_for_release> // until key release to enable , <¯o_release &sk LSHFT>; // holding shift @@ -138,7 +138,7 @@ TODOs and ISSUES label = "STICKY_SHIFT_CAPSWORD"; #binding-cells = <0>; tapping-term-ms = <200>; - bindings = <&sticky_shift>, <&caps_word>, ; + bindings = <&sticky_shift>, <&caps_word>, ; }; };