forked from majnemer/davesdots
-
Notifications
You must be signed in to change notification settings - Fork 0
/
muttrc
86 lines (72 loc) · 2.46 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
84
85
86
# Mutt settings
# Name stuff
set use_envelope_from
set from = 'Stoyan Gaydarov <[email protected]>'
set use_from = yes
set signature = "~/.mutt/sig"
# cache settings
set header_cache = "~/.mutt/cache/headers"
set message_cachedir = "~/.mutt/cache/bodies"
set certificate_file = "~/.mutt/certificates"
set mailcap_path = "~/.mutt/mailcap"
# IMAP
set imap_user = 'sgayda2'
set folder = imaps://imap.gmail.com:993
set spoolfile = +INBOX
set postponed = +[Gmail]/Drafts
unset imap_passive # allow mutt to open new imap connection automatically
set imap_keepalive = 300 # time in seconds
set timeout = 60
set mail_check = 120
set net_inc = 5
# SMTP
set smtp_url = smtps://[email protected]:465
set ssl_force_tls = yes
set sendmail_wait=-1
# Sorting
set sort = threads
set sort_aux = last-mailbox-order
# Keybindings
# j/k should scroll in messages. h for previous, l is next!
bind pager j next-line
bind pager k previous-line
bind pager h previous-undeleted
bind pager H previous-entry
bind pager L next-entry
bind pager l next-undeleted
bind pager <Space> next-page
bind pager \; previous-page
bind index G imap-fetch-mail
bind index \; previous-page
bind index , tag-prefix
bind index i display-message
# Folders
set imap_check_subscribed
# Folder Hooks
folder-hook '.' 'set read_inc=1000' # cached, show less progress updates
folder-hook '^imap' 'set read_inc=100' # show more on uncached msgs
# Save Hooks
save-hook '~f bugs@archlinux\.org' =Arch
save-hook '~f .*' =Save
#FCC redundant by GMail
fcc-save-hook '.*' /dev/null
set fcc_clear=no
# Aliases
alias admin [email protected]
alias exec [email protected]
alias top4 [email protected]
# Misc
set nostrict_threads # Looser globbing
set mark_old=no # What is old even?
set print_command="a2ps -1 --borders=no -g -Email" # pretty print
set confirmappend=no # Don't ask before appending emails to an existing mailbox
set pager_stop # stop at end of a message
set encode_from=yes # avoid ">From" munging charsets
unset markers # dont add + signs if message wraps
set include=yes # auto include message in reply
ignore * # ignore all headers by default
unignore from date subject to cc reply-to # keep only useful headers
alternative_order text/enriched text/plain text/html # prefer anything but HTML
auto_view text/html # display HTML inline
# Theme
source ~/.mutt/mutt-solarized/mutt-colors-solarized-dark-256.muttrc