From 482d1600ccac1b261edd1261c23596e394a45052 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sat, 21 Jan 2023 09:15:35 +0800 Subject: Remove mutt config --- .mutt/accounts/personal | Bin 368 -> 0 bytes .mutt/accounts/work | Bin 376 -> 0 bytes .mutt/display | 8 -------- .mutt/keybindings | 26 -------------------------- .mutt/mailcap | 8 -------- .mutt/muttrc | 37 ------------------------------------- .mutt/theme | 42 ------------------------------------------ 7 files changed, 121 deletions(-) delete mode 100644 .mutt/accounts/personal delete mode 100644 .mutt/accounts/work delete mode 100644 .mutt/display delete mode 100644 .mutt/keybindings delete mode 100644 .mutt/mailcap delete mode 100644 .mutt/muttrc delete mode 100644 .mutt/theme diff --git a/.mutt/accounts/personal b/.mutt/accounts/personal deleted file mode 100644 index 84cd32c..0000000 Binary files a/.mutt/accounts/personal and /dev/null differ diff --git a/.mutt/accounts/work b/.mutt/accounts/work deleted file mode 100644 index 40720a0..0000000 Binary files a/.mutt/accounts/work and /dev/null differ diff --git a/.mutt/display b/.mutt/display deleted file mode 100644 index 12519cf..0000000 --- a/.mutt/display +++ /dev/null @@ -1,8 +0,0 @@ -# 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 deleted file mode 100644 index 90bce04..0000000 --- a/.mutt/keybindings +++ /dev/null @@ -1,26 +0,0 @@ -# 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 - -bind pager ',r' group-chat-reply - -# ',l' performs a notmuch query, showing only the results -macro index ',l' "unset wait_keyread -p 'notmuch query: ' x; echo \$x >~/.cache/mutt_terms~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;chomp@a;s/\^id:// for@a;s/\\+/\\\\+/g for@a;s/=/\\\\=/g for@a;$,=\"|\";print@a'\`\"" "show only messages matching a notmuch pattern" - -macro index 'c' '?^K=' -macro index,pager 's' '?' - -macro attach 'V' "iconv -c --to-code=UTF8 > ~/.cache/mutt/mail.html$BROWSER ~/.cache/mutt/mail.html" -macro attach s ~/Downloads/ - diff --git a/.mutt/mailcap b/.mutt/mailcap deleted file mode 100644 index bb7849a..0000000 --- a/.mutt/mailcap +++ /dev/null @@ -1,8 +0,0 @@ -text/html;\ - $BROWSER %s;\ - test=test -n "$DISPLAY";\ - nametemplate=%s.html;\ - needsterminal; - -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 deleted file mode 100644 index 0c02e35..0000000 --- a/.mutt/muttrc +++ /dev/null @@ -1,37 +0,0 @@ -set mbox_type=Maildir -set folder="~/.maildir" -set header_cache="~/.cache/mutt" -set mailcap_path="~/.mutt/mailcap" -set timeout=60 - -# index -set sort=threads -set sort_aux=last-date-received - -# composition -set editor="vim" -set autoedit -set edit_headers=yes -set charset=UTF-8 -set send_charset="utf-8" -unset use_domain -set reverse_name -set include=yes -set forward_quote=yes - -set move=no # Don't move read mail to archive -set use_from=yes - -auto_view text/html -alternative_order text/plain text/html - -# key bindings -source ~/.mutt/keybindings - -# accounts -folder-hook personal 'source ~/.mutt/accounts/personal' -folder-hook work 'source ~/.mutt/accounts/work' - -source ~/.mutt/accounts/personal - -source ~/.mutt/display diff --git a/.mutt/theme b/.mutt/theme deleted file mode 100644 index aa77d0f..0000000 --- a/.mutt/theme +++ /dev/null @@ -1,42 +0,0 @@ -############################################################################### -# 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