-
Notifications
You must be signed in to change notification settings - Fork 1
/
.muttrc
114 lines (103 loc) · 6.12 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
# The (Neo)?Mutt Mail User Agent (MUA) configuration
#
# deps:
# offlineimap - Synchronize mailboxes and Maildirs both ways or one either way
# msmtp - An SMTP client
# abook - text-based address book program
# urlview - URL extractor/launcher
# lynx - a general purpose distributed information browser for the World Wide Web
# vim - Vi IMproved
# (optional gui) viewers: feh/mpv/mupdf/libreoffice
#
# author: @qbbr
set mbox_type = Maildir
set folder = ~/Mail
# directories & files
set mailcap_path = ~/.mutt/mailcap
set signature = ~/.mutt/signature
set header_cache = ~/.mutt/cache/headers
set message_cachedir = ~/.mutt/cache/bodies
set certificate_file = ~/.mutt/certificates
# main options
set timeout = 3 # idle time before scanning
set mail_check = 5 # minimum time between scans
set sort_alias = alias # sort alias file by alias
set reverse_alias # show names from alias file in index
unset move # gmail does that
#set delete # don't ask, just do
#unset confirmappend # don't ask, just do!
#set quit # don't ask, just do!!
unset mark_old # read/new is good enough for me
set beep_new # bell on new mails
set pipe_decode # strip headers and eval mimes when piping
set thorough_search # strip headers and eval mimes before searching
# index options
set sort = threads # like gmail
set sort_aux = reverse-last-date-received # like gmail
set uncollapse_jump # don't collapse on an unread message
set sort_re # thread based on regex
set reply_regexp = "^(([Rr][Ee]?(\[[0-9]+\])?: *)?(\[[^]]+\] *)?)*"
# pager options
set pager_index_lines = 10 # number of index lines to show
set pager_context = 5 # number of context lines to show
set pager_stop # don't go to next message automatically
set menu_scroll # scroll in menus
set smart_wrap # don't split words
set tilde # show tildes like in vim
unset markers # no ugly plus signs
auto_view text/html # view html automatically
alternative_order text/plain text/enriched text/html # save html for last
set quote_regexp = "^( {0,4}[>|:#%]| {0,4}[a-z0-9]+[>|]+)+"
# formats
set date_format = "%d/%m/%Y в %k:%M"
set index_format = "%3C %S %D • %-35.35L %s %> %c"
set pager_format = "Чтение сообщений %C из %m %> %lL [%P]" # pager statusbar
set folder_format = "%2C %t %N %8s %d %f" # mailbox list view
set status_format = " %?M?%M/?%m всего • %?n?%n новых, ?%?u?%u непрочитанных, ?%?p?%p отложенных, ?%?t?%t +tagged, ?%?d?%d удаленныx, ?[%f %l] %?b?%b unread messages. ?%> %V сортировать по: %s/%S [%P]"
set alias_format = "%4n %t %-20a %r"
# composing mail
set use_from = yes
set envelope_from # which from?
set sig_dashes # dashes before my sig... sweet
set edit_headers # show headers when composing
set fast_reply # skip to compose when replying
#set sendmail_wait = -1 # don't wait for sending... to complete
#set askcc # ask for CC:
set fcc_attach # save attachments with the body
unset mime_forward # forward attachments as part of body
set forward_format = "Fwd: %s" # format for subject when forwarding
set forward_decode # decode when forwarding
set attribution = "On %d, %n wrote:" # set the attribution
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
# cursor after headers
set editor = "vim +':set tw=80' +':set spell' +':set paste' +':set wrap' +\`awk '/^$/ {print i+2; exit} {i++}' %s\` %s"
# folder and mailbox
set copy = yes # save copy of outgoing msgs
set move = no
set fcc_attach = yes # save outgoing attachments
set fcc_clear = no # keep encryption/signatures
set folder_format = "%F %-8.8u %-8.8g %d %8s %N %f"
# address book
set query_command = "abook --mutt-query '%s'"
# sidebar
set sidebar_visible
set sidebar_width = 40
#set sidebar_new_mail_only = no
#set sidebar_non_empty_mailbox_only = no
set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S"
set mail_check_stats
#set sidebar_short_path
set sidebar_delim_chars = "/"
set sidebar_folder_indent
set sidebar_indent_string = " "
# includes
source ~/.mutt/color
source ~/.mutt/mailboxes
source ~/.mutt/header_config
source ~/.mutt/bindings
source ~/.mutt/macro
source ~/.mutt/hooks
source ~/.mutt/alias