X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=.muttrc.addons;h=5c82bcb53ed5042dda3e04863d4aad5f055d9aa7;hp=ede8d47a7f4093b0ed5c1d84691a4c3a05fb81c8;hb=0288190d6f538c3be15f18845ec691348db004f1;hpb=d2680b26995be6ab685c7cae9a850c8023ae03ce diff --git a/.muttrc.addons b/.muttrc.addons index ede8d47..5c82bcb 100644 --- a/.muttrc.addons +++ b/.muttrc.addons @@ -17,7 +17,8 @@ bind pager \` next-unread bind index \` previous-unread bind pager \` previous-unread unset strict_threads -set editor="vim -c 'set noai' -c 'set ts=8'" +# tw=78 is for gq and RFC 2822 section 2.1.1. +set editor="vim -c 'set noai' -c 'set ts=8' -c 'set tw=78'" set send_charset="us-ascii:iso-2022-jp:utf-8" set charset="utf-8" set autoedit @@ -74,7 +75,7 @@ macro editor \ew "^a [^e]^a" # GPG ##### -source /home/lace/.muttrc-gpg.rc +source ~/.muttrc-gpg.rc unset pgp_show_unusable set pgp_replyencrypt set pgp_replysignencrypted @@ -113,3 +114,4 @@ color body brightcyan black [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses color underline brightgreen black mono header underline ^(From|Subject): mono quoted bold +macro index V ":color index black white .*\n:color header black white ^(From|Subject|To|Cc|Bcc|Message-ID):\n:color hdrdefault black white\n:color quoted cyan white\n:color signature brightred white\n:color indicator brightyellow red\n:color error brightred white\n:color status brightyellow blue\n:color tree brightmagenta white # the thread tree in the index menu\n:color tilde brightmagenta white\n:color message brightcyan white\n:color normal black white\n:color attachment brightmagenta white\n:color search black green # how to hilite search patterns in the pager\n:color body brightyellow white '(ftp|http)://[^ ]+' # point out URLs\n:color body black white [-a-z_0-9.]+@[-a-z_0-9.]+ # e-mail addresses\n:color underline brightgreen white\n\cl"