Skip to content

Commit

Permalink
docs: Added documentation note on locking layers
Browse files Browse the repository at this point in the history
  • Loading branch information
nmunnich committed Jan 14, 2025
1 parent db4659f commit 657c765
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/docs/keymaps/behaviors/layers.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ Define a new behavior and assign `"on"` or `"off"` to `toggle-mode`:

You can then use `&tog_on` in place of `&tog` whenever you wish to only toggle a layer on, and not toggle it off. An `"off"` version of the behavior can be defined similarly.

## Layer Locking

When the behaviors `&to` and `&tog` toggle a layer on, they will "lock" the layer in the active state. This prevents the layer from being deactivated by any behavior which is not a `&to` or a `&tog`.

## Conditional Layers

The "conditional layers" feature enables a particular layer when all layers in a specified set are active.
Expand Down

0 comments on commit 657c765

Please sign in to comment.