diff options
author | Guangxiong Lin <[email protected]> | 2023-01-21 09:15:35 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2023-01-21 09:15:35 +0800 |
commit | 482d1600ccac1b261edd1261c23596e394a45052 (patch) | |
tree | 6c78d14b784e59c39d58227d3d45c734c1a50066 | |
parent | 9662a8ec581ea6055d1bfaff3ba4dd6602bddccd (diff) | |
download | dotfiles-482d1600ccac1b261edd1261c23596e394a45052.tar.gz dotfiles-482d1600ccac1b261edd1261c23596e394a45052.tar.bz2 dotfiles-482d1600ccac1b261edd1261c23596e394a45052.zip |
Remove mutt config
-rw-r--r-- | .mutt/accounts/personal | bin | 368 -> 0 bytes | |||
-rw-r--r-- | .mutt/accounts/work | bin | 376 -> 0 bytes | |||
-rw-r--r-- | .mutt/display | 8 | ||||
-rw-r--r-- | .mutt/keybindings | 26 | ||||
-rw-r--r-- | .mutt/mailcap | 8 | ||||
-rw-r--r-- | .mutt/muttrc | 37 | ||||
-rw-r--r-- | .mutt/theme | 42 |
7 files changed, 0 insertions, 121 deletions
diff --git a/.mutt/accounts/personal b/.mutt/accounts/personal Binary files differdeleted file mode 100644 index 84cd32c..0000000 --- a/.mutt/accounts/personal +++ /dev/null diff --git a/.mutt/accounts/work b/.mutt/accounts/work Binary files differdeleted file mode 100644 index 40720a0..0000000 --- a/.mutt/accounts/work +++ /dev/null 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' "<enter-command>unset wait_key<enter><shell-escape>read -p 'notmuch query: ' x; echo \$x >~/.cache/mutt_terms<enter><limit>~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'\`\"<enter>" "show only messages matching a notmuch pattern" - -macro index 'c' '<change-folder>?<change-dir><home>^K=<enter>' -macro index,pager 's' '<save-message>?' - -macro attach 'V' "<pipe-entry>iconv -c --to-code=UTF8 > ~/.cache/mutt/mail.html<enter><shell-escape>$BROWSER ~/.cache/mutt/mail.html<enter>" -macro attach s <save-entry><kill-line>~/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 <[email protected]> - -# 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 |