From b731482680df4fcd19cb3627180bbe4ea2372820 Mon Sep 17 00:00:00 2001 From: gxlin Date: Thu, 15 Jul 2021 08:51:09 +0800 Subject: More config --- .mutt/accounts/foo | Bin 258 -> 0 bytes .mutt/accounts/personal | Bin 0 -> 366 bytes .mutt/accounts/work | Bin 0 -> 374 bytes .mutt/display | 8 ++++++++ .mutt/keybindings | 14 ++++++++++++++ .mutt/mailboxes | Bin 174 -> 0 bytes .mutt/mailcap | 2 ++ .mutt/muttrc | Bin 419 -> 878 bytes .mutt/theme | 42 ++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 66 insertions(+) delete mode 100644 .mutt/accounts/foo create mode 100644 .mutt/accounts/personal create mode 100644 .mutt/accounts/work create mode 100644 .mutt/display create mode 100644 .mutt/keybindings delete mode 100644 .mutt/mailboxes create mode 100644 .mutt/mailcap create mode 100644 .mutt/theme (limited to '.mutt') diff --git a/.mutt/accounts/foo b/.mutt/accounts/foo deleted file mode 100644 index d044a5b..0000000 Binary files a/.mutt/accounts/foo and /dev/null differ diff --git a/.mutt/accounts/personal b/.mutt/accounts/personal new file mode 100644 index 0000000..6cd1d35 Binary files /dev/null and b/.mutt/accounts/personal differ diff --git a/.mutt/accounts/work b/.mutt/accounts/work new file mode 100644 index 0000000..5c7bc7c Binary files /dev/null and b/.mutt/accounts/work differ diff --git a/.mutt/display b/.mutt/display new file mode 100644 index 0000000..12519cf --- /dev/null +++ b/.mutt/display @@ -0,0 +1,8 @@ +# vim: filetype=muttrc + +set date_format="%y-%m-%d %T" +set index_format="%2C | %Z [%d] %-30.30F (%-4.4c) %s" + +set pager_index_lines=10 + +source ~/.mutt/theme diff --git a/.mutt/keybindings b/.mutt/keybindings new file mode 100644 index 0000000..60e3178 --- /dev/null +++ b/.mutt/keybindings @@ -0,0 +1,14 @@ +# vim: filetype=muttrc + +bind pager j next-line +bind pager k previous-line +bind attach,index,pager \CD next-page +bind attach,index,pager \CU previous-page +bind pager gg top +bind pager G bottom +bind attach,index g noop +bind attach,index gg first-entry +bind attach,index G last-entry + +bind index,pager \Cn sidebar-next +bind index,pager \Cp sidebar-prev diff --git a/.mutt/mailboxes b/.mutt/mailboxes deleted file mode 100644 index 01ee6d6..0000000 Binary files a/.mutt/mailboxes and /dev/null differ diff --git a/.mutt/mailcap b/.mutt/mailcap new file mode 100644 index 0000000..51d7e68 --- /dev/null +++ b/.mutt/mailcap @@ -0,0 +1,2 @@ +text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -collapse_br_tags -dump %s; nametemplate=%s.html; copiousoutput + diff --git a/.mutt/muttrc b/.mutt/muttrc index 8f52596..efe5ba5 100644 Binary files a/.mutt/muttrc and b/.mutt/muttrc differ diff --git a/.mutt/theme b/.mutt/theme new file mode 100644 index 0000000..aa77d0f --- /dev/null +++ b/.mutt/theme @@ -0,0 +1,42 @@ +############################################################################### +# Dracula Theme for Mutt: https://draculatheme.com/ +# +# @author Paul Townsend + +# general ------------ foreground ---- background ----------------------------- +color error color231 color212 +color indicator color231 color241 +color markers color210 default +color message default default +color normal default default +color prompt default default +color search color84 default +color status color141 color236 +color tilde color231 default +color tree color141 default + +# message index ------ foreground ---- background ----------------------------- +color index color210 default ~D # deleted messages +color index color84 default ~F # flagged messages +color index color117 default ~N # new messages +color index color212 default ~Q # messages which have been replied to +color index color215 default ~T # tagged messages +color index color141 default ~v # messages part of a collapsed thread + +# message headers ---- foreground ---- background ----------------------------- +color hdrdefault color117 default +color header color231 default ^Subject:.* + +# message body ------- foreground ---- background ----------------------------- +color attachment color228 default +color body color231 default [\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+ # email addresses +color body color228 default (https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+ # URLs +color body color231 default (^|[[:space:]])\\*[^[:space:]]+\\*([[:space:]]|$) # *bold* text +color body color231 default (^|[[:space:]])_[^[:space:]]+_([[:space:]]|$) # _underlined_ text +color body color231 default (^|[[:space:]])/[^[:space:]]+/([[:space:]]|$) # /italic/ text +color quoted color61 default +color quoted1 color117 default +color quoted2 color84 default +color quoted3 color215 default +color quoted4 color212 default +color signature color212 default -- cgit v1.2.3