· 9 years ago · Jul 21, 2017, 12:26 PM
1set from = "gopsychonauts@gmail.com"
2set realname = "David McLean"
3set imap_user = "gopsychonauts@gmail.com"
4set imap_pass = "not telling"
5set smtp_url = "smtp://gopsychonauts@smtp.gmail.com:587/"
6set smtp_pass = "not telling"
7
8set editor="vim"
9
10# basic gmail setup
11set folder = "imaps://imap.gmail.com:993"
12set spoolfile = "+INBOX"
13set imap_check_subscribed
14set hostname = gmail.com
15set mail_check = 120
16set timeout = 300
17set imap_keepalive = 300
18set postponed = "+[GMail]/Drafts"
19set record = "+[GMail]/Sent Mail"
20set header_cache=~/.mutt/cache/headers
21set message_cachedir=~/.mutt/cache/bodies
22set certificate_file=~/.mutt/certificates
23set move = no
24set include
25set sort = 'threads'
26set sort_aux = 'reverse-last-date-received'
27set auto_tag = yes
28ignore "Authentication-Results:"
29ignore "DomainKey-Signature:"
30ignore "DKIM-Signature:"
31hdr_order Date From To Cc
32alternative_order text/plain text/html *
33auto_view text/html
34bind editor <Tab> complete-query
35bind editor ^T complete
36bind editor <space> noop
37
38# gmail key bindings
39macro index gi "<change-folder>=INBOX<enter>" "Go to inbox"
40macro index ga "<change-folder>=[Gmail]/All Mail<enter>" "Go to all mail"
41macro index gs "<change-folder>=[Gmail]/Sent Mail<enter>" "Go to Sent Mail"
42macro index gd "<change-folder>=[Gmail]/Drafts<enter>" "Go to drafts"
43macro index,pager y "<enter-command>unset trash\n<tag-prefix><delete-message>" "Gmail archive message"
44macro index,pager d "<enter-command>set trash=\"imaps://imap.googlemail.com/[Gmail]/Bin\"\n<tag-prefix><delete-message>" "Gmail delete message"
45
46# colours
47color hdrdefault color241 default
48color status color30 default
49color quoted color60 default
50
51color index red default "!~N ~D"
52color index red white "~N ~D"
53color index yellow default "~O"
54
55#set index_format="%?M?(#%03M)&(%4l)?%4C %Z %{%b %d} %-15.15L (%4l) %s"
56
57# external stuff
58source .mutt/vimkeys.mutt