This repository has been archived by the owner on May 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmuttrc
50 lines (40 loc) · 1.84 KB
/
muttrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# default colors, and mapped behaviors
# source ~/.mutt/behaviors-colors
set sort = 'reverse-date'
# Default account
source ~/.mutt/macapinlac.com.muttrc
# source ~/.mutt/boogienet.com.muttrc
# viewing messages
auto_view text/html # automatically show html (mailcap uses lynx)
auto_view application/pgp-encrypted
#set display_filter = "tac | sed '/\\\[-- Autoview/,+1d' | tac" # Suppress autoview messages.
alternative_order text/plain text/enriched text/html
# set sidebar stuff
set sidebar_visible = yes
set sidebar_width = 40
set sidebar_folder_indent = yes
set sidebar_short_path = yes
set sidebar_next_new_wrap = yes
set mail_check_stats
set sidebar_format = '%D%?F? [%F]?%* %?N?%N/? %?S?%S?'
# Moving through stuff
bind index,pager \Ck sidebar-prev
bind index,pager \Cj sidebar-next
bind index,pager \Co sidebar-open
bind index,pager \Cp sidebar-prev-new
bind index,pager \Cn sidebar-next-new
bind index,pager B sidebar-toggle-visible
# macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox"
#color sidebar_highlight red default
color sidebar_divider brightblack black
color sidebar_flagged red black
color sidebar_new green black
# refresh <ctrl>r to sync
bind index \Cr noop
macro index \Cr "<shell-escape>imapfilter -v && mbsync --all --verbose" "filter and sync email"
# Macros for switching accounts
bind index,pager i noop
bind index,pager g noop
macro index,pager i1 '<sync-mailbox><enter-command>source ~/.mutt/macapinlac.com.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to [email protected]"
macro index,pager i2 '<sync-mailbox><enter-command>source ~/.mutt/boogienet.com.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to [email protected]"
# macro index,pager i3 '<sync-mailbox><enter-command>source ~/.mutt/gmail.com.muttrc<enter><change-folder>!<enter>;<check-stats>' "switch to [email protected]"