From 3a20a48c4b821fbe4f7ca612712512a56086be19 Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Tue, 18 Nov 2025 06:41:50 +0100 Subject: [PATCH] neomutt: update --- .config/neomutt/mailcap | 4 +--- .config/neomutt/settings | 9 +++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.config/neomutt/mailcap b/.config/neomutt/mailcap index a54ae0f..156313b 100644 --- a/.config/neomutt/mailcap +++ b/.config/neomutt/mailcap @@ -1,3 +1 @@ -# HTML -text/html; w3m -I %{charset} -T text/html; copiousoutput; -text/plain; nvim %s +text/html; html2text -utf8 -links -from_encoding %{charset} -width ${COLUMNS:-80} '%s'; copiousoutput; description=HTML Text; nametemplate=%s.html diff --git a/.config/neomutt/settings b/.config/neomutt/settings index 2a19155..8f5ff9a 100644 --- a/.config/neomutt/settings +++ b/.config/neomutt/settings @@ -8,7 +8,7 @@ set imap_check_subscribed # Set preffered view modes auto_view text/html text/calendar application/ics # view html automatically -alternative_order text/html text/plain text/enriched text/* +alternative_order text/enriched text/html text/plain text/* # main options @@ -29,7 +29,6 @@ unset sig_dashes # no dashes before sig unset mime_forward # forward attachments as part of body unset help # No help bar at the top of index # set status_on_top # Status bar on top of index -set tmpdir = ~/Programs/neomutt/temp # where to keep temp files unset confirmappend # don't ask, just do! set quit # don't ask, just do!! @@ -61,9 +60,11 @@ set menu_scroll set tilde unset markers +set allow_ansi=yes set mailcap_path = ~/.config/neomutt/mailcap -set header_cache = "~/.cache/mutt" -set message_cachedir = "~/.cache/mutt" +set header_cache = "~/.cache/neomutt" +set message_cachedir = "~/.cache/neomutt" +set tmpdir = "$XDG_RUNTIME_DIR/neomutt/temp" # where to keep temp files # Sidebar