summary refs log tree commit diff
path: root/mutt/muttrc
diff options
context:
space:
mode:
authornoa2024-09-07 08:03:52 +0000
committernoa2024-09-07 08:03:52 +0000
commitb9a1cbafda2aaed36c8eca4f7b68aae583918561 (patch)
tree4a0ff7b1abcdfa8f0b94c44485e32d84cdffa1b5 /mutt/muttrc
parent4d75f09ba0f3547ec451e2d3b72422d0822c0b6b (diff)
Add configurations to fossil repo
Diffstat (limited to 'mutt/muttrc')
-rw-r--r--mutt/muttrc71
1 files changed, 71 insertions, 0 deletions
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<enter>" "call urlscan to open links
+
+macro index,pager,attach,compose \Cb "\
+<enter-command> set my_pipe_decode=\$pipe_decode pipe_decode<Enter>\
+<pipe-message> urlview<Enter>\
+<enter-command> set pipe_decode=\$my_pipe_decode; unset my_pipe_decode<Enter>" \
+"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]+
+