From 5038f6442b5aff02996b2626861457502e0b6d27 Mon Sep 17 00:00:00 2001 From: Luke Swan Date: Sun, 22 Sep 2024 18:45:27 +0300 Subject: [PATCH] Add bspc_del mod morph --- boards/shields/vortex_corne/vortex_corne.keymap | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/boards/shields/vortex_corne/vortex_corne.keymap b/boards/shields/vortex_corne/vortex_corne.keymap index 791e05d..7b7411b 100644 --- a/boards/shields/vortex_corne/vortex_corne.keymap +++ b/boards/shields/vortex_corne/vortex_corne.keymap @@ -18,6 +18,17 @@ flavor = "tap-preferred"; }; +/ { + behaviors { + bspc_del: backspace_delete { + compatible = "zmk,behavior-mod-morph"; + #binding-cells = <0>; + bindings = <&kp BACKSPACE>, <&kp DELETE>; + mods = <(MOD_LSFT|MOD_RSFT)>; + keep-mods = <(MOD_RSFT)>; + }; + }; +}; / { keymap { compatible = "zmk,keymap"; @@ -32,7 +43,7 @@ &kp ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp MINUS &kp TAB &mt LGUI A &mt LALT S &mt LSHFT D &mt LCTRL F &kp G &kp H &mt RCTRL J &mt RSHFT K &mt RALT L &mt RGUI SEMI &kp SQT &to GAMING &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp BSLH - &mo SYMBOL &mo NUMBER &kp RET &kp SPACE &kp BSPC &mo FUNCTION + &mo SYMBOL &mo NUMBER &kp RET &kp SPACE &bspc_del &mo FUNCTION >; }; number_layer {