-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.muttrc
55 lines (44 loc) · 1.68 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
51
52
53
54
55
set realname="Christoph Rissner"
set sendmail="/usr/bin/msmtp"
set nm_default_uri="notmuch:///home/resi/IMAP/"
set virtual_spoolfile = yes
set nm_db_limit=500
# normal folders
set mbox_type=Maildir
set folder="~/IMAP/"
set record="~/IMAP/rissner/Sent/"
set postponed="~/IMAP/rissner/Drafts/"
source ~/.mutt/mailboxes
source ~/.mutt/sort-threads.rc
#source ~/.mutt/colors.linux
source ~/.mutt/colors.resi
source ~/.mutt/crypto
source ~/.mutt/alias
set alias_file=~/.mutt/alias
# 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
bind index t tag-thread
set index_format="%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s %* [%g]"
set pager_format="-%Z- %C/%m: %-20.20n %s%* [%g] (%P)"
set pager_index_lines=7
# virtual folders
virtual-mailboxes \
"inbox" "notmuch://?query=tag:inbox and NOT tag:archive and not tag:spam" \
" inbox [archive]" "notmuch://?query=tag:inbox and tag:archive and not tag:spam"
set my_vbox_file=~/.mutt/virtual_mailboxes
source $my_vbox_file
macro index "<enter-command>unset wait_key<enter><shell-escape>mutt_nm_tags.sh<enter><enter-command>source $my_vbox_file<enter><enter-command>set sidebar_visible=no<enter><enter-command>set sidebar_visible=yes<enter>"
macro index A "<tag-prefix><modify-labels-then-hide>+archive -inbox\n<sync-mailbox>"
macro index I "<tag-prefix><modify-labels>"
# mark emails for git-am
# (e.g. "git am -i -3 $(notmuch search --output=files tag:PATCH)"
#
#macro index P "<modify-labels>PATCH\n"
#macro index <Esc>P "<modify-labels>-PATCH\n"