summaryrefslogtreecommitdiff
path: root/files/email/muttrc
blob: 02bbe610058929027e24ba70136d6ae0a69b1c47 (plain)
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
set send_charset = "utf-8"
set assumed_charset = "iso-8859-1"

set sort = reverse-date

set editor = "vi -c 'set syntax=mail ft=mail enc=utf-8'"

set menu_scroll = yes

set simple_search = "~f %s | ~C %s | ~s %s"

set mail_check_stats = yes
set delete = ask-yes

set rfc2047_parameters = yes
set sleep_time = 0
set markers = no
set wait_key = no
set reverse_name
set fast_reply
set fcc_attach
set mime_forward = no
set forward_attachments = yes
set forward_format = "Fwd: %s"
set forward_quote

set index_format = "%2C (%Z) %[%D %I:%M %p] %-15.15F %s (%c)"

set sidebar_visible = yes
set sidebar_short_path = yes
set sidebar_width = 18
set sidebar_format = '%B%?F? [%F]?%* %?N?%N/?%S'

auto_view text/html
auto_view application/pgp-encrypted
alternative_order text/plain text/enriched text/html

set realname = "Andrew Opalach"
set from = "andrew@akon.city"

set mail_check = 60
set imap_keepalive = 300

set imap_user = "andrew@akon.city"
set imap_pass = "`pass andrew@akon.city`"
set folder = imaps://mail.akon.city/
set spoolfile = "=INBOX"
set record = "=INBOX/Sent"
set postponed = "=INBOX/Drafts"
set trash = "=INBOX/Trash"
mailboxes =INBOX
mailboxes =INBOX/Sent
mailboxes =INBOX/Drafts
mailboxes =INBOX/Trash
mailboxes =INBOX/Junk
mailboxes =INBOX/Archive

set smtp_pass = "`pass andrew@akon.city`"
set smtp_url = smtp://andrew@akon.city@mail.akon.city/

set header_cache = /var/tmp/mutt

bind index i imap-fetch-mail
bind index,pager g noop
bind index gg first-entry
bind index j next-entry
bind index k previous-entry
bind index G last-entry
bind attach <Return> view-mailcap
bind attach l view-mailcap
bind editor <space> noop
bind pager j next-line
bind pager k previous-line
bind pager gg top
bind pager G bottom
bind pager l view-attachments
bind index h noop
bind pager,attach h exit
bind index,pager \Ck sidebar-prev
bind index,pager \Cj sidebar-next
bind index,pager \Co sidebar-open
bind editor <Tab> complete-query
bind browser l select-entry
bind browser gg top-page
bind browser G bottom-page

macro pager n "<enter-command>unset pipe_decode<enter><pipe-message>extract_url<enter>" "extract URLs from a message"

color normal white black
color attachment brightyellow black
color hdrdefault green black
color indicator black brightgreen
color markers brightyellow black
color quoted green black
color signature blue black
color status black green
color tilde blue black
color tree yellow black

color index green black ~D
color index magenta black ~T

color header brightyellow black ^From:
color header brightgreen black ^To:
color header brightgreen black ^Reply-To:
color header brightgreen black ^Cc:
color header brightgreen black ^Subject:

#color body brightyellow black [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+
#color body brightgreen black (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+