dotfiles

dot files in ~
git clone git://git.unixkoans.com/dotfiles.git
Log | Files | Refs

muttrc (1810B)


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
#
# author   : Xu Xiaodong <[email protected]>
# modified : 2012 Jul 07
#

source ~/.gmailrc
source ~/.mutt/colors/darkcourses
source ~/.mutt/alias

set header_cache     = ~/.mutt/cache/headers
set message_cachedir = ~/.mutt/cache/bodies
set certificate_file = ~/.mutt/certificates
set alias_file       = ~/.mutt/alias
set history_file     = ~/.mutt/history
set signature        = ~/.mutt/signature
set editor           = "vim"

set from      = "[email protected]"
set realname  = "Xu Xiaodong"

set folder    = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
mailboxes     = "+INBOX"
set record    = ""
set postponed = "+[Gmail]/Drafts"

set ssl_starttls  = yes
set ssl_force_tls = yes

set hostname       = "gmail.com"
set mail_check     = 120
set timeout        = 300
set imap_keepalive = 300
set imap_idle      = yes
set net_inc        = 5

unset imap_passive
unset move

set include
set pager_stop
set delete
set quit

set sort     = "threads"
set sort_aux = "reverse-last-date-received"
set auto_tag = yes

set index_format = "%4C %Z %{%b %d} %-20.20L (%4c) %s"

ignore *
unignore Date From To Cc Subject User-Agent

hdr_order Date From To Cc Subject User-Agent
alternative_order text/plain text/html *
auto_view text/html

bind index gg first-entry
bind index G last-entry

bind editor <Tab> complete-query
bind editor ^T complete
bind editor <space> noop 

macro index,pager y "<save-message>=[Gmail]/All Mail<enter><enter>" "Archive"
macro index,pager d "<save-message>=[Gmail]/Trash<enter><enter>" "Trash"
macro index gi "<change-folder>=INBOX<enter>" "Go to inbox"
macro index ga "<change-folder>=[Gmail]/All Mail<enter>" "Go to all mail"
macro index gs "<change-folder>=[Gmail]/Starred<enter>" "Go to starred messages"
macro index gd "<change-folder>=[Gmail]/Drafts<enter>" "Go to drafts"