-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.muttrc
83 lines (71 loc) · 2.72 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
# send settings
set realname = "Colin Campbell"
set from = "[email protected]"
set use_from = yes
set smtp_url = "smtp://[email protected]@smtp.gmail.com:465"
set smtp_pass=`pass gmail`
# folder settings
set folder = ~/.mail/el
set mbox_type = Maildir
set spoolfile = "+INBOX"
set record = +Sent
set postponed = +Drafts
set alias_file = "~/.mutt/alias" # where to store aliases
set header_cache = "~/.mutt/cache/headers" # where to store headers
set message_cachedir = "~/.mutt/cache/bodies" # where to store bodies
set certificate_file = "~/.mutt/certificates" # where to store certs
set tmpdir = "~/.mutt/tmp"
# editor settings
set editor='vim +/^$ "+setlocal fo+=w spell" +noh'
set edit_headers = yes
set charset = UTF-8
set text_flowed
# general settings
set timeout = 3 # idle time before scanning
set mail_check = 0 # minimum time between scans
set sleep_time = 0
set quit
set delete # don't ask, just do
unset move # gmail does that
unset beep_new
unset mark_old # read/new is good enough for me
unset confirmappend # don't ask, just do!
set reply_to # reply to Reply to: field
set reverse_name # reply as whomever it was to
set include # include message in replies
set forward_quote # include message in forwards
unset mime_forward # forward attachments as part of body
set wrap=78
# thread
set sort = threads
set sort_aux = last-date-received
# set narrow_tree
unset collapse_unread
set strict_threads
# pager settings
set pager_stop
set pager_index_lines=10
# attachment settings
set mailcap_path = ~/.mutt/mailcap # entries for filetypes
auto_view text/html
alternative_order text/plain text/enriched text/html
# keymaps
bind pager j next-line
bind pager k previous-line
bind attach,index,pager \CD next-page
bind attach,index,pager \CU previous-page
bind pager g top
bind pager G bottom
bind attach,index g first-entry
bind attach,index G last-entry
bind pager R group-reply
bind attach <return> view-mailcap
macro index,pager gi "<change-folder>=INBOX<enter>" "open inbox"
macro index,pager ga "<change-folder>=archive<enter>" "open archive/allmail"
macro index,pager gd "<change-folder>=drafts<enter>" "open drafts"
macro index,pager gs "<change-folder>=sent<enter>" "open sent"
macro index,pager gt "<change-folder>=trash<enter>" "open trash"
macro index,pager gf "<change-folder>?"
# macro pager \cu <pipe-entry>'urlview'<enter> 'Follow links with urlview'
# macro attach 'V' "<pipe-entry>iconv -c --to-code=UTF8 > ~/.cache/mutt/mail.html<enter><shell-escape>firefox ~/.cache/mutt/mail.html<enter>"
source ~/.mutt/nord.theme