-
Notifications
You must be signed in to change notification settings - Fork 0
/
muttrc
35 lines (27 loc) · 1.02 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
set sendmail = /home/dan/_dotfiles/scripts/msmtpq
set sendmail_wait = -1
set use_from=yes
set realname="Dan"
set envelope_from=yes
# Actual local mail (not Notmuch)
set folder = '~/@MAILBOX/Local' # default: '~/Mail'
set spoolfile = +INBOX
# Ok, notmuch backend for everything else...
set virtual_spoolfile = yes
set nm_default_uri = "notmuch:///home/dan/@MAILBOX"
virtual-mailboxes "NEW" "notmuch://?query=tag:inbox and tag:unread" \
"INBOX" "notmuch://?query=tag:inbox" \
"kernel" "notmuch://?query=tag:kernel-main" \
"kernel-arm" "notmuch://?query=tag:kernel-arm" \
"u-boot" "notmuch://?query=tag:u-boot"
# sidebar
set sidebar_width = 35
set sidebar_visible = yes
color sidebar_new yellow default
bind index <left> sidebar-prev
bind index <right> sidebar-next
bind index <space> sidebar-open
bind index <Esc>S sidebar-toggle
macro index A "<modify-labels-then-hide>+archive -inbox\n<sync-mailbox>"
macro index U "<modify-labels>+unread\n<sync-mailbox>"