diff options
author | noa@gaiwan.org | 2024-04-13 00:56:45 +0000 |
---|---|---|
committer | noa@gaiwan.org | 2024-04-13 00:56:45 +0000 |
commit | 7cea8e1cfc2204d537c6acb80ea5249b1857fca9 (patch) | |
tree | 6c6870ddcd62cd812f42d18e2c8574b705f296d9 /mutt/muttrc | |
parent | d60fd3abded9ddb51303e8ef5228d7789f13db38 (diff) |
add mutt configuration
Diffstat (limited to 'mutt/muttrc')
-rw-r--r-- | mutt/muttrc | 71 |
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]+ + |