wiki: Mention bind key repeat

This commit is contained in:
Ivan Molodetskikh
2024-07-05 09:10:48 +04:00
parent d3aebdbec4
commit c8411e55d9
+9
View File
@@ -50,6 +50,15 @@ For this reason, most of the default keys use the `Mod` modifier.
> Here, look at `sym: Left` and `sym: Right`: these are the key names.
> I was pressing the left and the right arrow in this example.
Binds will do key repeat by default (i.e. holding down a bind will make it trigger repeatedly).
You can disable that for specific binds with `repeat=false`:
```
binds {
Mod+T repeat=false { spawn "alacritty"; }
}
```
Binds can also have a cooldown, which will rate-limit the bind and prevent it from repeatedly triggering too quickly.
```