-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathmuttrc
132 lines (110 loc) · 3.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
## Basic configuration
source "~/.mutt/user"
### Advanced configuration
### YOU SHOULD NOT MODIFY THIS UNLESS YOU KNOW WHAT YOU'RE DOING
# Loading language properties
source "~/.mutt/lang/$my_lang"
## Server config
# IMAP config
set imap_user="$my_username@$my_domain"
set imap_pass=$my_password
set folder="imaps://outlook.office365.com/"
set spoolfile= +INBOX
set postponed= +$my_drafts_noquote
set record = +$my_sent_noquote
set trash = +$my_trash_noquote
mailboxes
set imap_check_subscribed="yes"
set imap_list_subscribed="yes"
set timeout=15
set mail_check=90
set imap_keepalive=180
set imap_idle
unset mark_old
set ssl_use_sslv3=yes
# SMTP config
set realname = $my_realname
set from = "$my_username@$my_domain"
set smtp_pass = $my_password
set hostname = $my_domain
set smtp_url = "smtp://$my_username@[email protected]:587/"
set ssl_force_tls = yes
set smtp_authenticators = "login"
## More settings
# File storage settings
set signature="~/.mutt/signature"
set message_cachedir="~/.mutt/message_cache"
set header_cache="~/.mutt/header_cache"
set tmpdir="~/.mutt/tmp"
# Text view first
set pager_stop="yes"
set smart_wrap="yes"
alternative_order text/plain
auto_view text/html
set reverse_name=yes
set reverse_realname=yes
# Text editor
#set editor='vim + -c "set textwidth=72" -c "set wrap" -c "set nocp" -c "?^$"'
set editor="vim"
# Adress book handling
set sort_alias=alias
set reverse_alias=yes
set alias_file="~/.mutt/aliases"
source "~/.mutt/gal"
source "~/.mutt/aliases"
source "~/.mutt/mailing_lists"
# Thread ordering
set sort = 'threads'
set sort_browser="reverse-date"
set sort_aux="last-date-received"
unset collapse_unread
set index_format=" %?M? ↳&%4C? %Z %D %-15.15n %s"
## Key bindings
# Mailboxes
bind index G imap-fetch-mail
macro index gi "<change-folder>=INBOX<enter>" "Go to Inbox"
macro index gs "<change-folder>=$my_sent<enter>" "Go to Sent"
macro index gd "<change-folder>=$my_drafts<enter>" "Go to Drafts"
macro index gt "<change-folder>=$my_trash<enter>" "Go to Trash"
# Index
bind index <up> previous-entry
bind index <down> next-entry
bind index <delete> delete-message
bind index n next-entry
bind index p previous-entry
macro index Q ":set quit=yes\nq" "Quit mutt without asking"
bind index C noop
bind index - collapse-thread
bind index _ collapse-all
# Pager
bind pager <up> previous-line
bind pager <down> next-line
bind pager <left> previous-entry
bind pager <right> next-entry
bind pager <delete> delete-message
bind pager k previous-line
bind pager j next-line
bind pager n next-entry
bind pager p previous-entry
bind pager w previous-page
# Colors
color normal white default
color attachment brightyellow default
color hdrdefault cyan default
color indicator black cyan
color markers brightred default
color quoted green default
color signature cyan default
color status brightgreen blue
color tilde blue default
color tree red default
color header brightgreen default ^From:
color header brightcyan default ^To:
color header brightcyan default ^Reply-To:
color header brightcyan default ^Cc:
color header brightblue default ^Subject:
color body brightred default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+
color body brightblue default (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+
# For better looks
#set markers=no # don't put '+' at the beginning of wrapped lines
#set pager_index_lines= 5 # how large is the index window?