mirror of
https://github.com/nix-community/home-manager
synced 2024-09-11 22:06:31 +02:00
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.
37 lines
819 B
Plaintext
37 lines
819 B
Plaintext
# Generated by Home Manager.
|
|
set header_cache = "/home/hm-user/.cache/neomutt/headers/"
|
|
set message_cachedir = "/home/hm-user/.cache/neomutt/messages/"
|
|
set editor = "$EDITOR"
|
|
set implicit_autoview = yes
|
|
set crypt_use_gpgme = yes
|
|
|
|
alternative_order text/enriched text/plain text
|
|
|
|
set delete = yes
|
|
|
|
|
|
|
|
# Binds
|
|
bind editor <Tab> "complete-query"
|
|
bind index,pager \Cp "sidebar-prev"
|
|
|
|
# Macros
|
|
macro index s "<save-message>?<tab>"
|
|
macro index,pager c "<change-folder>?<change-dir><home>^K=<enter><tab>"
|
|
|
|
# Register accounts
|
|
# register account hm@example.com
|
|
mailboxes "/home/hm-user/Mail/hm@example.com/Inbox"
|
|
|
|
folder-hook /home/hm-user/Mail/hm@example.com/ " \
|
|
source /home/hm-user/.config/neomutt/hm@example.com "
|
|
|
|
|
|
# Source primary account
|
|
source /home/hm-user/.config/neomutt/hm@example.com
|
|
|
|
# Extra configuration
|
|
|
|
|
|
|