1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 03:29:45 +01:00

zellij: document KDL settings

Describe how to set KDL arguments.
This commit is contained in:
Godefroid Chapelle 2023-11-15 13:57:50 +01:00
parent 280721186a
commit 362f734db7

View file

@ -33,10 +33,32 @@ in {
'';
description = ''
Configuration written to
{file}`$XDG_CONFIG_HOME/zellij/config.yaml`.
{file}`$XDG_CONFIG_HOME/zellij/config.kdl`.
See <https://zellij.dev/documentation> for the full
See <https://zellij.dev/documentation/options> for the full
list of options.
KDL is generated from YAML with the ``toKDL`` generator.
To create KDL with arguments like needed among others by ``keybinds``:
```kdl
keybinds {
shared_except "move" "locked" {
bind "Ctrl m" { SwitchToMode "move"; }
}
}
```
use the following:
```yaml
keybinds = {
shared_except = {
_args = [ "move" "locked" ];
bind = {
_args = [ "Ctrl m" ];
SwitchToMode = "move";
};
};
};
```
'';
};