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:
parent
280721186a
commit
362f734db7
1 changed files with 24 additions and 2 deletions
|
@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
```
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue