summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKemoNine <mcrosson@users.noreply.github.com>2020-12-29 11:57:49 -0500
committerGitHub <noreply@github.com>2020-12-29 11:57:49 -0500
commitd207c3c30f7f2d0648b32d59f481498fe048230c (patch)
tree885efa8c436c58fca8a5c39a952898f36d3da4e4 /docs
parent43f6d798be70ef247b0717730ec34202cb81e96d (diff)
(feature) Add &to keycode/behavior (#489)
feat(behaviors): Add `&to` behavior to switch to a layer.
Diffstat (limited to 'docs')
-rw-r--r--docs/docs/behaviors/layers.md15
1 files changed, 15 insertions, 0 deletions
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:
&lt 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.