mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-22 18:29:39 +01:00
neomutt: allow binds to override vimKeys
In the generated neomutt configuration, source the optional `vim-keys.rc` before applying the `binds` configuration, to allow the user to override keybindings from `vim-keys.rc`. Adapt the test files to account for the empty space left by the unset `vimKeys` option.
This commit is contained in:
parent
7ec0ae18cd
commit
1a91cb7cdb
7 changed files with 15 additions and 15 deletions
|
|
@ -457,15 +457,15 @@ in {
|
|||
|
||||
set delete = yes
|
||||
|
||||
${optionalString cfg.vimKeys
|
||||
"source ${pkgs.neomutt}/share/doc/neomutt/vim-keys/vim-keys.rc"}
|
||||
|
||||
# Binds
|
||||
${bindSection}
|
||||
|
||||
# Macros
|
||||
${macroSection}
|
||||
|
||||
${optionalString cfg.vimKeys
|
||||
"source ${pkgs.neomutt}/share/doc/neomutt/vim-keys/vim-keys.rc"}
|
||||
|
||||
# Register accounts
|
||||
${
|
||||
optionalString (accountCommandNeeded) ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue