feat(behaviors): Add DEL/BSPC to continue list.
* Continue caps word on delete/backspace by default now. Co-authored-by: Cem Aksoylar <caksoylar@users.noreply.github.com>
This commit is contained in:
parent
b3c9c18fee
commit
1e8224c296
2 changed files with 2 additions and 3 deletions
|
@ -12,7 +12,7 @@
|
||||||
compatible = "zmk,behavior-caps-word";
|
compatible = "zmk,behavior-caps-word";
|
||||||
label = "CAPS_WORD";
|
label = "CAPS_WORD";
|
||||||
#binding-cells = <0>;
|
#binding-cells = <0>;
|
||||||
continue-list = <UNDERSCORE>;
|
continue-list = <UNDERSCORE BACKSPACE DELETE>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -23,8 +23,7 @@ Example:
|
||||||
|
|
||||||
#### Continue List
|
#### 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,
|
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:
|
||||||
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 {
|
&caps_word {
|
||||||
|
|
Loading…
Reference in a new issue