mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +01:00
broot: allow multiple keyboard keys per verb
To allow multiple keys the verb options need to accept listOf str.
This commit is contained in:
parent
1d9b4a3e60
commit
800a191f33
1 changed files with 4 additions and 1 deletions
|
@ -15,7 +15,7 @@ let
|
|||
modal = mkEnableOption "modal (vim) mode";
|
||||
|
||||
verbs = mkOption {
|
||||
type = with types; listOf (attrsOf (either bool str));
|
||||
type = with types; listOf (attrsOf (oneOf [ bool str (listOf str) ]));
|
||||
default = [ ];
|
||||
example = literalExpression ''
|
||||
[
|
||||
|
@ -46,6 +46,9 @@ let
|
|||
`key` (optional)
|
||||
: a keyboard key triggering execution
|
||||
|
||||
`keys` (optional)
|
||||
: multiple keyboard keys each triggering execution
|
||||
|
||||
`shortcut` (optional)
|
||||
: an alternate way to call the verb (without
|
||||
the arguments part)
|
||||
|
|
Loading…
Reference in a new issue