From 319abb710528ebee494d68d5c5b59623f5fe5ea5 Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 30 Oct 2021 00:38:42 -0400 Subject: [PATCH] mutt: Add initial muttrc I'm thrilled that $USER in from seems to work (and therefore we don't need to templatize this / can actually toss it in /etc/skel as is!) --- .muttrc | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .muttrc diff --git a/.muttrc b/.muttrc new file mode 100644 index 0000000..0f80569 --- /dev/null +++ b/.muttrc @@ -0,0 +1,47 @@ +# ~/.muttrc -- starter garbash mutt(1) config + +# Necessary Options ----------------------------------------------------------- +set from="$USER@garbash.com" +set realname="$USER" +set mbox_type="Maildir" +set folder="~/Maildir" +set spoolfile="=INBOX" +set record="=Sent" +set postponed="=Drafts" + +# Recommended Options --------------------------------------------------------- +# Require encrypted connection for submission +set ssl_force_tls = yes + +# BCC self to show up in INBOX +my_hdr BCC: $from + +# Sort by threads (newest first) +set sort=threads +set sort_aux=reverse-last-date-received + +# Show some index in the pager (mail viewer) +set pager_index_lines=6 + +# Restrict quotes to |, :, and > (default has } and # which match code) +set quote_regexp="^([ \t]*[|>:])+" + +# Highlight unread emails +color index yellow black ~U + +# Rainbow nested threads! +color quoted green black +color quoted1 blue black +color quoted2 magenta black +color quoted3 yellow black +color quoted4 red black + +# Basic patch highting +color body green black "^\\+.*" +color body red black "^-.*" +color body magenta black "^\\+\\+\\+ b/.*" +color body magenta black "^--- a/.*" +color body magenta black "^@@.*@@" +color body magenta black "^@@.*@@" +color body magenta black "^diff --git.*" +color body magenta black "^index [0-9a-z]{7}\\.\\.[0-9a-z]{7}.*" -- libgit2 1.1.1