index — dots-the-third @ 41467165da002c8bc35c2fabefa251578601a118

I don't need nix, I have a way worse solution!

mutt/.config/mutt/muttrc (view raw)

 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
set mail_check = 60
set timeout = 10
set sort = "reverse-date-received"
set copy = no
set ssl_starttls = yes
set ssl_force_tls = yes
set send_charset = "us-ascii:utf-8"

unset imap_passive
set imap_keepalive = 300

# Import SMTP and IMAP credentials
source "gpg -dq ~/.config/mutt/protonmail.gpg |"

#macros
macro index gd "<change-folder>$postponed<enter>" "go to drafts"
macro index gs "<change-folder>$record<enter>" "go to sent"
macro index gi "<change-folder>$spoolfile<Enter>" "go to inbox"
macro index gt "<change-folder>$trash<enter>" "go to trash"
macro index,pager A "<save-message> =Archive<enter> "archive message"

bind pager <down> next-line
bind pager <up> previous-line

#general
set sleep_time = 0

set status_format = "%f"
set date_format = "%m%d"
set index_format = "%Z %D %-15.15n %s"
set editor = nvim

# render HTML and some other types as text
auto_view text/html application/text application/pdf
# many companies send very poor text/plain parts, so prefer html to text/plain
alternative_order text/enriched text/html text/plain text

set alias_file = ~/.mutt/alias