aboutsummaryrefslogtreecommitdiff
path: root/.mutt/muttrc
blob: efe5ba5ccae18d996fae3ad29b8cf540cae10d7b (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
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

auto_view text/html

macro index 'c' '<change-folder>?<change-dir><home>^K=<enter>'
macro index '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>"

# 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

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