From b9a1cbafda2aaed36c8eca4f7b68aae583918561 Mon Sep 17 00:00:00 2001 From: noa Date: Sat, 7 Sep 2024 08:03:52 +0000 Subject: Add configurations to fossil repo --- mutt/mailcap | 1 + mutt/muttrc | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 mutt/mailcap create mode 100644 mutt/muttrc (limited to 'mutt') diff --git a/mutt/mailcap b/mutt/mailcap new file mode 100644 index 0000000..c9f551b --- /dev/null +++ b/mutt/mailcap @@ -0,0 +1 @@ +text/html; w3m -I %{charset} -T text/html; copiousoutput diff --git a/mutt/muttrc b/mutt/muttrc new file mode 100644 index 0000000..a959277 --- /dev/null +++ b/mutt/muttrc @@ -0,0 +1,71 @@ +set mbox_type = Maildir +set folder = "~/Documents/Mail/" +set spoolfile = "+Inbox" +set postponed = "+Drafts" +set record = "+Sent" +unset move + +set signature = ~/.config/mutt/signature + +alternates .*@gaiwan.org + +set wait_key = no +# set delete +# unset confirmappend +# set quit +unset mark_old + +set status_on_top = yes +set status_format = "%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? %>-%?p?( %p postponed ) " +set help = no + +ignore * +unignore from: to: cc: date: subject: +unhdr_order * +hdr_order from: to: cc: date: subject: + +set markers = no +unset user_agent +set sort = threads +set sort_aux = reverse-last-date-received +set date_format = "%m/%d" +set index_format="[%Z] %D %-16.16F %s" + +# Mailcap +alternative_order text/plain text text/html +set mailcap_path = ~/.config/mutt/mailcap +auto_view text/html + +# macro pager \Cu "|urlscan -cd" "call urlscan to open links + +macro index,pager,attach,compose \Cb "\ + set my_pipe_decode=\$pipe_decode pipe_decode\ + urlview\ + set pipe_decode=\$my_pipe_decode; unset my_pipe_decode" \ +"call urlview to extract URLs out of a message" + +# Colours +color normal default default +color attachment bold default default +color hdrdefault cyan default +color indicator default red +color quoted default yellow +color signature cyan default +color status reverse default default +color tilde blue default +color tree default default + +color index red default ~P +color index red default ~D +color index default yellow ~T + +color header brightdefault default ^From: +color header brightdefault default ^To: +color header brightdefault default ^Date: +color header brightdefault default ^Cc: +color header brightdefault default ^Subject: + +# emails and urls +color body brightdefault default [\-\.+_a-zA-Z0-9]+@[\-\ea-zA-Z0-9]+ +color body brightdefault default (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+ + -- cgit 1.4.1-2-gfad0