-
Notifications
You must be signed in to change notification settings - Fork 4
/
.muttrc
48 lines (46 loc) · 2.14 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
source $HOME/.mutt/.solarized_mutt
source $HOME/.mutt/.gpgrc
source "gpg2 -dq $HOME/.mutt/.gmail.gpg |"
set imap_user = "farseer90718@gmail.com"
set smtp_url = "smtp://farseer90718@smtp.gmail.com:587/"
set from = "admin@farseer.cn"
# set from = "farseer90718@gmail.com"
set realname = "Farseer He"
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set mime_forward = yes
set mime_forward_rest = yes
set imap_check_subscribed
set hostname = gmail.com
set mail_check = 120
set timeout = 300
set imap_keepalive = 300
set postponed = "+[GMail]/Drafts"
set record = $HOME/.mutt/sent
set header_cache = $HOME/tmp/.mutt/cache/headers
set message_cachedir = $HOME/tmp/.mutt/cache/bodies
set certificate_file = $HOME/tmp/.mutt/certificates
set move = no
set include
set sort = 'threads'
set sort_aux = 'reverse-last-date-received'
set auto_tag = yes
set status_format = " Mutt: %f Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l? %> %s/%S %P "
set pager_format = " %S %C/%m: %n %> %s "
ignore "Authentication-Results:"
ignore "DomainKey-Signature:"
ignore "DKIM-Signature:"
hdr_order Date From To Cc
alternative_order text/plain text/html *
auto_view text/html
bind editor <Tab> complete-query
bind editor ^T complete
bind editor <space> noop
# Gmail-style keyboard shortcuts
macro index,pager y "<enter-command>unset trash\n <delete-message>" "Gmail archive message"
macro index,pager d "<enter-command>set trash=\"imaps://imap.googlemail.com/[Imap]/Trash\"\n <delete-message>" "Gmail delete message"
macro index,pager gi "<change-folder>=INBOX<enter>" "Go to inbox"
macro index,pager ga "<change-folder>=[Gmail]/All Mail<enter>" "Go to all mail"
macro index,pager gs "<change-folder>=[Gmail]/Starred<enter>" "Go to starred messages"
macro index,pager gm "<change-folder>=[Gmail]/Sent Mail<enter>" "Go to all sent mail"
macro index,pager gd "<change-folder>=[Gmail]/Drafts<enter>" "Go to drafts"