From d207c3c30f7f2d0648b32d59f481498fe048230c Mon Sep 17 00:00:00 2001 From: KemoNine Date: Tue, 29 Dec 2020 11:57:49 -0500 Subject: (feature) Add &to keycode/behavior (#489) feat(behaviors): Add `&to` behavior to switch to a layer. --- docs/docs/behaviors/layers.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'docs') diff --git a/docs/docs/behaviors/layers.md b/docs/docs/behaviors/layers.md index fcfdc93..35e37ae 100644 --- a/docs/docs/behaviors/layers.md +++ b/docs/docs/behaviors/layers.md @@ -57,6 +57,21 @@ Example: < LOWER SPACE ``` +## To Layer + +The "to layer" behavior enables a layer and disables _all_ other layers _except_ the default layer. + +### Behavior Binding + +- Reference: `&to` +- Parameter: The layer number to enable, e.g. `1` + +Example: + +``` +&to 3 +``` + ## Toggle Layer The "toggle layer" behavior enables a layer until the layer is manually disabled. -- cgit v1.2.3