From ed2bf7a5ab6ab1170053044ce6b89427e46e2d4b Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Tue, 24 Nov 2020 04:36:28 -0600 Subject: [PATCH] Move sidebar configuration to separate file --- muttrc | 6 +----- sidebar | 7 +++++++ 2 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 sidebar diff --git a/muttrc b/muttrc index 674402b..75f423d 100644 --- a/muttrc +++ b/muttrc @@ -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 diff --git a/sidebar b/sidebar new file mode 100644 index 0000000..d853118 --- /dev/null +++ b/sidebar @@ -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