aboutsummaryrefslogtreecommitdiff
path: root/.mutt/muttrc
blob: a8a0245d88c81fb4828bea6bb5a3b2da59dd6eff (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
# The basics
set folder="~/mail"
set header_cache = "~/.cache/mutt/headers"
set mbox_type=Maildir
set message_cachedir = "~/.cache/mutt/messages"
set postponed="=drafts"
set record="sent"
set sort="threads"
set forward_format = "Fwd: %s" # Format of subject when forwarding

# Tweaks
unset help               # Remove annoying messages
set beep_new
set charset="utf-8"
set fast_reply
set fast_reply=yes       # Skip prompt for subject and recipients when replying
set hidden_host=yes
set include              # Include message in replies
set mailcap_path = $HOME/.mailcap
set mark_old=no
set markers=no
set mask="!^\\.[^.]"
set pager_context=5      # Retain 5 lines of previous page when scrolling.
set send_charset="utf-8"
set sleep_time = 0
set smart_wrap           # Do not wrap mid word
set wait_key=no

# Pager
set pager_index_lines = 10 # Number of index lines to show
set pager_context = 3      # Number of context lines to show
set pager_stop             # Don't go to next message automatically

# PGP
set pgp_auto_decode=yes
set pgp_getkeys_command="gpg --recv-keys %r 2>/dev/null"

# Sanitize messages with t-prot
set display_filter='t-prot -cmekatlS --max-lines=250 --bigq --pgp-short --pgp-move --pgp-move-vrf -Mmutt -L/etc/t-prot/footers -A/etc/t-prot/ads'

# Date format
set date_format="!%a, %b %d, %Y at %I:%M:%S%p %Z"

# Conditional time
set index_format='%4C %Z %<[y?%<[m?%<[d?%[%H:%M ]&%[%a %d]>&%[%b %d]>&%[%m/%y ]> %-15.15L (%?l?%4l&%4c?) %s'

# Status Bar
set status_chars  = " *%A"
set status_format = "───[ Folder: %f ]───[%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]───%>─%?p?( %p postponed )?───"

# HTML
auto_view text/html image/*  application/x-gunzip application/x-tar-gz
alternative_order text/plain text/enriched text/html

# Extra configs
source "$HOME/.mutt/muttrc.aliases"
source "$HOME/.mutt/muttrc.binds"
source "$HOME/.mutt/muttrc.colors"
source "$HOME/.mutt/muttrc.hooks"
source "$HOME/.mutt/muttrc.macros"
source "$HOME/.mutt/muttrc.sidebar"

source "$HOME/.mutt/muttrc.mailboxes.env|"
source "$HOME/.mutt/muttrc.send.env|"
nihil fit ex nihilo