From 1e8224c296fdba53c1bd949baa757a8cbdb822b1 Mon Sep 17 00:00:00 2001 From: Peter Johanson Date: Sat, 4 Jun 2022 04:01:44 +0000 Subject: [PATCH] feat(behaviors): Add DEL/BSPC to continue list. * Continue caps word on delete/backspace by default now. Co-authored-by: Cem Aksoylar --- app/dts/behaviors/caps_word.dtsi | 2 +- docs/docs/behaviors/caps-word.md | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/dts/behaviors/caps_word.dtsi b/app/dts/behaviors/caps_word.dtsi index 57d5cab7..ac04e26b 100644 --- a/app/dts/behaviors/caps_word.dtsi +++ b/app/dts/behaviors/caps_word.dtsi @@ -12,7 +12,7 @@ compatible = "zmk,behavior-caps-word"; label = "CAPS_WORD"; #binding-cells = <0>; - continue-list = ; + continue-list = ; }; }; }; diff --git a/docs/docs/behaviors/caps-word.md b/docs/docs/behaviors/caps-word.md index ee493741..479e350f 100644 --- a/docs/docs/behaviors/caps-word.md +++ b/docs/docs/behaviors/caps-word.md @@ -23,8 +23,7 @@ Example: #### Continue List -By default, the caps word will remain active when any alphanumeric character or the underscore (`UNDERSCORE`) characters are pressed. Any other keycode sent, -will turn off caps word. If you would like to override this, you can set a new array of keys in the `continue-list` property in your keymap: +By default, the caps word will remain active when any alphanumeric character or underscore (`UNDERSCORE`), backspace (`BACKSPACE`), or delete (`DELETE`) characters are pressed. Any other non-modifier keycode sent will turn off caps word. If you would like to override this, you can set a new array of keys in the `continue-list` property in your keymap: ``` &caps_word {