Include new catchall keyword in binds docs (#499)

This commit is contained in:
Tobias Zimmermann 2024-03-03 04:23:13 +01:00 committed by GitHub
parent aa912684a2
commit 88762b35c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -312,6 +312,15 @@ submap=reset
This works because the binds are executed in the order they appear, and This works because the binds are executed in the order they appear, and
assigning multiple actions per bind is possible. assigning multiple actions per bind is possible.
## Catch-All
You can also define a keybind via the special `catchall` keyword, which activates no matter which key is pressed.
This can be used to prevent any keys from passing to your active application while in a submap or to exit it immediately when any unknown key is pressed:
```ini
bind=,catchall,submap,reset
```
# Example Binds # Example Binds
## Media ## Media