From cf274306ec254317e88d24b6147202aae862df80 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 19 Oct 2020 16:06:05 +0100 Subject: Clean mutt config --- mutt/.mutt/muttrc | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'mutt/.mutt/muttrc') diff --git a/mutt/.mutt/muttrc b/mutt/.mutt/muttrc index a75c088..816a564 100644 --- a/mutt/.mutt/muttrc +++ b/mutt/.mutt/muttrc @@ -3,13 +3,11 @@ set folder = ~/.mail set alias_file = ~/.mutt/alias set header_cache = ~/.mutt/cache/headers set message_cachedir = ~/.mutt/cache/bodies -set certificate_file = ~/.mutt/certificates set mailcap_path = ~/.mutt/mailcap set tmpdir = ~/.mutt/temp # Source crypto, aliases, mailboxes -source ~/.mutt/colors/base.muttrc -source `FILE=$HOME/.mutt/colors/$COLORSCHEME.muttrc; if [ ! -s "$FILE" ]; then FILE=$HOME/.mutt/colors/nord.muttrc; fi; echo "$FILE"` +source ~/.mutt/colors.muttrc source ~/.mutt/crypto source ~/.mutt/alias source ~/.mutt/mailboxes @@ -20,6 +18,8 @@ set realname = "Urbain Vaes" set from = "Urbain Vaes" set reverse_alias set sort = reverse-date +# set sort = reverse-threads +# set sort_aux = last-date-received set weed set abort_nosubject=no unset markers @@ -66,12 +66,12 @@ set editor="$EDITOR" set include=yes # Index -set index_format="%X %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s" +set index_format="%4C %X %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s" # Macros macro index,pager gp " +Personal/Personal" macro index,pager gi " +Imperial/Imperial" -macro index,pager gw " +Enpc/Enpc" +macro index,pager ge " +Enpc/Enpc" macro pager u "urlview\n" # Key bindings @@ -91,8 +91,12 @@ bind pager j next-entry bind pager k previous-entry bind pager R group-reply +# Attachment macro compose \CA "!mutt_attach\n" +# Flow text +set text_flowed + # Hooks folder-hook 'Enpc*' 'source ~/.mutt/id_enpc' folder-hook 'Imperial*' 'source ~/.mutt/id_imperial' @@ -107,4 +111,6 @@ set reverse_name alternates ".*@vaes.uk" # HTML email -macro compose 5 "F $HOME/.mutt/filter\ny^T^Utext/html; charset=utf-8\n" +macro compose 5 "F $HOME/.mutt/filtery^T^Utext/html; charset=utf-8" + +# vim: ft=muttrc -- cgit v1.2.3