Compare commits

...

2 Commits

Author SHA1 Message Date
BBaoVanC 4715e3db31
Add catch-all to mailcap 2020-11-24 04:36:41 -06:00
BBaoVanC ed2bf7a5ab
Move sidebar configuration to separate file 2020-11-24 04:36:28 -06:00
3 changed files with 9 additions and 5 deletions

View File

@ -7,3 +7,4 @@ audio/*; ~/.config/mutt/nixopen %s ;
application/pdf; ~/.config/mutt/nixopen %s ;
application/pgp-encrypted; gpg -d '%s'; copiousoutput;
application/pgp-keys; gpg --import '%s'; copiousoutput;
application/*; ~/.config/mutt/nixopen %s ;

6
muttrc
View File

@ -3,11 +3,6 @@
set header_cache = ~/.cache/mutt/header_cache # cache headers
set message_cachedir = ~/.cache/mutt # cache messages
set sidebar_visible = yes # enable sidebar
set sidebar_width = 20 # sidebar width
set sidebar_short_path = yes
set sidebar_next_new_wrap = yes # ctrl-j/k will wrap around
set sidebar_format = '%D%?F? [%F]?%* %?N?%N/? %?S?%S?' # sidebar format
set mail_check_stats # count unread/read messages
set query_command = "abook --mutt-query '%s'" # set up Abook
@ -32,6 +27,7 @@ auto_view text/html # automatically show html
auto_view application/pgp-encrypted
alternative_order text/plain text/enriched text/html
source sidebar # load sidebar settings
source keybinds # load keybinds
source colors # load colors
source account # load account

7
sidebar Normal file
View File

@ -0,0 +1,7 @@
# vim: filetype=neomuttrc
set sidebar_visible = yes # enable sidebar
set sidebar_width = 20 # sidebar width
set sidebar_short_path = yes
set sidebar_next_new_wrap = yes # ctrl-j/k will wrap around
set sidebar_format = '%D%?F? [%F]?%* %?N?%N/? %?S?%S?' # sidebar format