aboutsummaryrefslogtreecommitdiff
path: root/.mutt/muttrc
blob: 47c4ccbeb07ff20a964da2c18d1d8d6f7a46ae9c (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
set mbox_type=Maildir
set folder="~/.maildir"
set header_cache="~/.cache/mutt"
set mailcap_path="~/.mutt/mailcap"

# index
set sort=threads
set sort_aux=last-date-received

# composition
set editor="vim"
set autoedit
set edit_headers=yes
set charset=UTF-8
set send_charset="utf-8"
unset use_domain
set reverse_name
set include=yes
set forward_quote=yes

set move=no # Don't move read mail to archive
set use_from=yes

auto_view text/html
alternative_order text/plain text/html

macro index 'c' '<change-folder>?<change-dir><home>^K=<enter>'
macro index,pager 's' '<save-message>?'

macro attach 'V' "<pipe-entry>iconv -c --to-code=UTF8 > ~/.cache/mutt/mail.html<enter><shell-escape>$BROWSER ~/.cache/mutt/mail.html<enter>"
macro attach s <save-entry><kill-line>~/Downloads/

# key bindings
source ~/.mutt/keybindings

# accounts
folder-hook personal 'source ~/.mutt/accounts/personal'
folder-hook work 'source ~/.mutt/accounts/work'

source ~/.mutt/accounts/personal

source ~/.mutt/display