-
Notifications
You must be signed in to change notification settings - Fork 2
/
.muttrc
99 lines (80 loc) · 2.51 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# Username/from
set realname = "Dionysis Grigoropoulos"
set from = "dgrig@erethon.com"
set use_from = yes
set envelope_from = yes
set sendmail = "msmtp"
# Automatically use alternate email address
set reverse_name = yes
# Using offlineimap for this
set folder = ~/mail/
set postponed = $folder/postponed
set mbox_type = Maildir
source ~/.mutt/mailboxes
set record = +sent
set ssl_starttls = yes
set ssl_force_tls = yes
# Refresh internal/editor/mail settings
set mail_check = 240
set editor = vim
set edit_headers = yes
# Instantly change mailboxes (informational messages will be lost this way)
set sleep_time = 0
set sort = threads
# Hide most headers
ignore *
unignore from date subject to cc
# Set index format, for info see `man muttrc'
set index_format="%4C %Z %X %[%d %b %Y %H:%M] %-22.22L - %s"
# Ask for cc list before opening editor
set askcc = yes
# Alias stuff
set alias_file = "~/.mutt/aliases"
set sort_alias = address
set reverse_alias = yes
source $alias_file
# PGP/GPG stuff
set pgp_replyencrypt
set pgp_show_unusable = no
set pgp_use_gpg_agent = yes
# Sidebar settings
set sidebar_visible = yes
set sidebar_short_path = yes
set mail_check_stats # required for "%S" to work on sidebar_format
set sidebar_format = "%D%* %S%?N?(%N)?%*"
set sidebar_folder_indent = yes
set sidebar_indent_string = " "
set sidebar_divider_char = "|"
# Keybinds
bind index G last-entry
bind index j next-entry
bind index k previous-entry
bind index u next-unread
bind index i read-thread
bind index,pager K sidebar-prev
bind index,pager J sidebar-next
bind index,pager O sidebar-open
# Theme/Colors
color normal default default
color attachment brightyellow default
color hdrdefault cyan default
color indicator black cyan
color markers brightred white
color quoted green default
color quoted2 magenta default
color quoted3 brightred default
color quoted4 cyan default
color signature cyan default
color status brightred default
color tilde blue default
color index red default ~D
color index magenta default ~T
color tree magenta default
color sidebar_new magenta default
color sidebar_divider brightred default
color sidebar_highlight black color44
# Split mode
set pager_index_lines = 8
# NotMuch Macros
#macro index / "<enter-command>unset wait_key<enter><shell-escape>python-notmuch.py<enter><change-folder-readonly>~/.cache/mutt_results<enter>"
#macro index I "<enter-command>unset wait_key<enter><pipe-message>notmuch-mutt thread<enter><change-folder-readonly>~/.cache/notmuch/mutt/results<enter>"