-
Notifications
You must be signed in to change notification settings - Fork 0
/
.muttrc
76 lines (64 loc) · 2.17 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
set my_name = "Phil Xiaojun Hu"
source "~/.muttrc-confidential"
#set folder=imaps://[email protected]@imap.gmail.com/
set smtp_url=smtp://[email protected]@smtp.gmail.com:587/
set from = "[email protected]"
set realname = "Phil Xiaojun Hu"
#set spoolfile=+INBOX
#mailboxes =+INBOX
#set record = +Sent
#unset record
#set postponed = +[Gmail]/Drafts
#unset imap_passive
#set mail_check = 120
set editor = "vim"
set charset="utf8"
set assumed_charset="big5:gb2312:utf-8"
#set message_cachedir = "~/Mail/cache"
# IMAP: offlineimap
set folder = "~/Mail/gmail"
source ~/.mutt/mailboxes
set spoolfile = "+inbox"
set record = "+local_sent"
set postponed = imaps://[email protected]@imap.gmail.com/[Gmail]/Drafts
set sort = threads
set sort_aux = date
set pager_index_lines = 6
# sidebar
set sidebar_visible = no
set sidebar_width = 14
set sidebar_format = "%B%* (%N)"
macro index b '<enter-command>toggle sidebar_visible<enter><refresh>'
macro pager b '<enter-command>toggle sidebar_visible<enter><redraw-screen>'
# Ctrl-n, Ctrl-p to select next, previous folder.
# Ctrl-o to open selected folder.
bind index,pager \CP sidebar-prev
bind index,pager \CN sidebar-next
bind index,pager \CO sidebar-open
# goobook: Google Contacts
set query_command="goobook query "'%s'"
bind editor <Tab> complete-query
macro index,pager a "<pipe-message>goobook add<return>" "add the sender address to Google contacts"
color normal white black
color hdrdefault green default
color quoted green default
color quoted1 yellow default
color quoted2 red default
color signature cyan default
color indicator brightyellow red
color error brightred default
color status brightwhite blue
color tree brightmagenta black
color tilde blue default
color attachment brightyellow default
color markers brightred default
color message white black
color search brightwhite magenta
color bold brightyellow default
source ~/.mutt/gpg.rc
set pgp_use_gpg_agent = yes
set pgp_sign_as = 8C48E444
set pgp_timeout = 3600
set crypt_autosign = yes
set crypt_replyencrypt = yes