X-Git-Url: https://git.madduck.net/etc/mutt.git/blobdiff_plain/13e17aaf50c752dbcfb934daadfa5d701c824eb3..1806a593c0ebaedb261b679ec7a683c76f20946a:/.mutt/muttrc?ds=inline diff --git a/.mutt/muttrc b/.mutt/muttrc index 4cabf55..7824a7f 100644 --- a/.mutt/muttrc +++ b/.mutt/muttrc @@ -1,6 +1,6 @@ # from /usr/share/doc/mutt/examples/Muttrc.gz -set my_confdir="~/.mutt" +set my_confdir="$HOME/.mutt" # set abort_nosubject=ask-yes # @@ -247,7 +247,7 @@ set my_confdir="~/.mutt" # in a reply. For a full listing of defined printf()-like sequences see # the section on ``$index_format''. # -set attribution="also sprach %n <%a> [%[%Y.%m.%d.%H%M %z]]:" +set attribution="also sprach %n <%a> [%[%Y-%m-%d %H:%M %z]]:" # # set autoedit=no # @@ -789,7 +789,7 @@ set fast_reply=yes # This variable controls whether or not attachments on outgoing messages # are saved along with the main body of your message. # -set fcc_attach=no +set fcc_attach=yes # # set fcc_clear=no # @@ -855,6 +855,7 @@ set folder="~/mail" # Type: boolean # Default: yes # +# ## ENABLED BY A DEFAULT HOOK # # Controls whether or not the Mail-Followup-To header field is # generated when sending mail. When set, Mutt will generate this @@ -922,6 +923,7 @@ set folder="~/mail" # This variable controls the default subject when forwarding a message. # It uses the same format sequences as the ``$index_format'' variable. # +set forward_format="(fwd) %s" # # set forward_quote=no # @@ -1370,7 +1372,7 @@ set ignore_list_reply_to=yes # use the viewer defined in that entry to convert the body part to text # form. # -set implicit_autoview=yes +set implicit_autoview=no # # set include=ask-yes # @@ -1494,7 +1496,7 @@ set include=yes # # See also: ``$to_chars''. # -set index_format="%4C %Z %{%b %d} %-15.15F %4c %?H?[%H] ?%s" +#set index_format="%4C %Z %{%b %d} %-15.15F %4c %?H?[%H] ?%s" ## DEFINED BY A DEFAULT HOOK # # set ispell="ispell" # @@ -1550,6 +1552,7 @@ set index_format="%4C %Z %{%b %d} %-15.15F %4c %?H?[%H] ?%s" # This variable specifies which files to consult when attempting to # display MIME bodies not directly supported by Mutt. # +set mailcap_path="$my_confdir/mailcap.icalendar:$my_confdir/mailcap.backgrounding:$my_confdir/mailcap.htmldump" # # set mailcap_sanitize=yes # @@ -1566,21 +1569,6 @@ set index_format="%4C %Z %{%b %d} %-15.15F %4c %?H?[%H] ?%s" # DOING! # # -# set maildir_mtime=no -# -# Name: maildir_mtime -# Type: boolean -# Default: no -# -# -# If set, the sort-by-date option in the browser will sort maildirs -# smartly, not using the mtime of the maildir itself but that of the -# newest message in the new subdirectory, making the sorting by -# reverse date much more useful. People with maildirs over NFS may -# wish to leave this option unset. -# -set maildir_mtime=yes -# # set header_cache="" # # Name: header_cache @@ -1595,6 +1583,21 @@ set maildir_mtime=yes # caching will be used. # set header_cache="~/.var/mutt/header_cache" +# +# set header_cache_compress=yes +# +# Name: header_cache_compress +# Type: boolean +# Default: yes +# +# When mutt is compiled with qdbm or tokyocabinet as header cache backend, +# this option determines whether the database will be compressed. Compression +# results in database files roughly being one fifth of the usual diskspace, +# but the uncompression can result in a slower opening of cached folder(s) +# which in general is still much faster than opening non header cached +# folders. +# +set header_cache_compress=no # # set maildir_header_cache_verify=yes # @@ -1609,20 +1612,6 @@ set header_cache="~/.var/mutt/header_cache" # set maildir_header_cache_verify=no # -# set header_cache_pagesize="16384" -# -# Name: header_cache_pagesize -# Type: string -# Default: "16384" -# -# -# When mutt is compiled with either gdbm or bdb4 as the header cache backend, -# this option changes the database page size. Too large or too small -# values can waste space, memory, or CPU time. The default should be more -# or less optimal for most use cases. -# -set header_cache_pagesize=32768 -# # set maildir_trash=no # # Name: maildir_trash @@ -1859,7 +1848,7 @@ set mime_forward=ask-yes # This option sets the filename used for signature parts in PGP/MIME # signed messages. # -set pgp_mime_signature_filename="digital_signature_gpg.asc" +#set pgp_mime_signature_filename="digital_signature_gpg.asc" # # set pgp_mime_signature_description="Digital signature" # @@ -1867,7 +1856,7 @@ set pgp_mime_signature_filename="digital_signature_gpg.asc" # Type: string # Default: "Digital signature" # -set pgp_mime_signature_description="Digital signature (see http://martin-krafft.net/gpg/)" +#set pgp_mime_signature_description="Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)" # # This option sets the Content-Description used for signature parts in # PGP/MIME signed messages. @@ -2026,6 +2015,7 @@ set pager_context=2 # pager. The valid sequences are listed in the ``$index_format'' # section. # +set pager_format="<%a> %* %i (%P)" # # set pager_index_lines=0 # @@ -2033,6 +2023,7 @@ set pager_context=2 # Type: number # Default: 0 # +# ## SET BY A DEFAULT HOOK # # Determines the number of lines of a mini-index which is shown when in # the pager. The current message, unless near the top or bottom of the @@ -2374,6 +2365,7 @@ set pgp_retainable_sigs=yes # have been marked as ``disabled'' by the user. # (PGP only) # +set pgp_show_unusable=no # # set pgp_sign_as="" # @@ -2387,7 +2379,7 @@ set pgp_retainable_sigs=yes # keyid form to specify your key (e.g., ``0x00112233''). # (PGP only) # -set pgp_sign_as="0x330c4a75" +set pgp_sign_as="0x9C9D6979AE941637" # # set pgp_strict_enc=yes # @@ -2699,6 +2691,7 @@ set pgp_auto_decode=yes # edited. This one points to the location of the private keys. # (S/MIME only) # +set smime_keys="~/.smime/keys" # # set smime_ca_location="" # @@ -2732,6 +2725,7 @@ set pgp_auto_decode=yes # the location of the certificates. # (S/MIME only) # +set smime_certificates="~/.smime/certificates" # # set smime_decrypt_command="" # @@ -2893,6 +2887,7 @@ set pgp_auto_decode=yes # keyid (the hash-value that OpenSSL generates) to work properly # (S/MIME only) # +set smime_default_key="a350124a.0" # # set ssl_force_tls=no # @@ -3227,7 +3222,8 @@ set postponed="=drafts" # # This specifies the command pipe that should be used to print messages. -set print_command="iconv -s -tlatin1//TRANSLIT | a2ps -=mail -Xlatin1 --title='%D{%Y.%m.%d.%H%M%S}-\$t2-\$t1' -B --borders=no --header='\$t2: \$t1' --left-footer='#?l!%E!#?v|%E|%s./%s#|!' --right-footer='#?l!%s./%s#!#?v|%s./%s#|%E|!' -cl100 -2qP cupspdf" +#set print_command="iconv -s -tlatin1//TRANSLIT | a2ps -=mail -Xlatin1 --title='%D{%Y.%m.%d.%H%M%S}-\$t2-\$t1' -B --borders=no --header='\$t2: \$t1' --left-footer='#?l!%E!#?v|%E|%s./%s#|!' --right-footer='#?l!%s./%s#!#?v|%s./%s#|%E|!' -cl100 -1qP cupspdf" +set print_command="muttprint" # # set print_decode=yes @@ -3436,7 +3432,7 @@ set record="=store" # and replying. The default value corresponds to the English "Re:" and # the German "Aw:". # -set reply_regexp="^((re([[(]?[[:digit:]]+[)]]?)?|a(nt)?w(ort)?|wg|s(gkb|v)):[[:space:]]*)+" +set reply_regexp="^((re([-[(]?[[:digit:]]+[)]]?)?|a(nt)?w(ort)?|wg|s(gkb|v)):[[:space:]]*)+" # # set reply_self=no # @@ -3692,7 +3688,8 @@ set save_history=100 # arguments as recipient addresses. # #set sendmail="/bin/true" -#set sendmail="~/.mutt/sendmail" +set sendmail="$my_confdir/sendmail" +#set sendmail="/usr/sbin/sendmail -oem -oi" # # set sendmail_wait=0 # @@ -3901,6 +3898,7 @@ set simple_search="~L %s | ~s %s" # Note: On Debian systems, this option is set by default to # ``threads'' in /etc/Muttrc. # +set sort=threads # # set sort_alias=alias # @@ -4100,7 +4098,7 @@ set spoolfile="=inbox" # will replace any dots in the expansion by underscores. This might be helpful # with IMAP folders that don't like dots in folder names. # -set status_format=" %r %f [m:%?M?%M/?%m%?n? n:%n?%?o? o:%o?%?d? d:%d?%?F? f:%F?%?t? t:%t?%?p? p:%p?%?b? i:%b?%?l? %l?] %?V?[%V] ?(%s/%S) %> (%P) " +set status_format=" %r %f [m:%?M?%M/?%m%?n? n:%n?%?o? o:%o?%?d? d:%d?%?F? f:%F?%?t? t:%t?%?p? p:%p?%?b? i:%b?%?l? %l?] %?V?%V ?(%s/%S) %> (%P) " # # set status_on_top=no # @@ -4129,6 +4127,7 @@ set status_format=" %r %f [m:%?M?%M/?%m%?n? n:%n?%?o? o:%o?%?d? d:%d?%?F? f:%F?% # ``$sort_re'' for a less drastic way of controlling this # behaviour. # +set strict_threads=yes # # set suspend=yes # @@ -4156,6 +4155,7 @@ set status_format=" %r %f [m:%?M?%M/?%m%?n? n:%n?%?o? o:%o?%?d? d:%d?%?F? f:%F?% # # Note that $indent_string is ignored when this option is set. # +set text_flowed=yes # # set thread_received=no # @@ -4163,6 +4163,7 @@ set status_format=" %r %f [m:%?M?%M/?%m%?n? n:%n?%?o? o:%o?%?d? d:%d?%?F? f:%F?% # Type: boolean # Default: no # +set thread_received=yes # # When set, mutt uses the date received rather than the date sent # to thread messages by subject. @@ -4192,6 +4193,7 @@ set thorough_search=yes # When set, the internal-pager will pad blank lines to the bottom of the # screen with a tilde (~). # +set tilde=yes # # set time_inc=0 # @@ -4335,6 +4337,7 @@ set thorough_search=yes # if the ``$sendmail'' variable already contains "-f" or if the # executable pointed to by $sendmail doesn't support the "-f" switch. # +set use_envelope_from=yes # # set use_from=yes # @@ -4438,7 +4441,7 @@ set wait_key=no # When set to a negative value, mutt will wrap text so that there are $wrap # characters of empty space on the right side of the terminal. # -set wrap=0 +set wrap=-10 # # set wrap_search=yes # @@ -4528,11 +4531,17 @@ set xterm_set_titles=yes # Controls the format of the title bar of the xterm provided that # xterm_set_titles has been set. This string is identical in formatting # to the one used by ``$status_format''. -# +# set xterm_title="mutt@%h [%?M?%M/?%m, n:%n]%?V? [%V]?" -# +# -alternative_order text/enriched text/plain text application/postscript image/* +auto_view text/html application/ics text/calendar +#auto_view application/x-gunzip application/x-tar-gz application/x-tar application/x-gtar +#auto_view application/postscript +alternative_order multipart/mixed multipart/related text/html text/enriched text/* +#alternative_order text/plain text/enriched text/html +#alternative_order text/enriched text/plain text application/postscript image/* +mime_lookup application/octet-stream source $my_confdir/colours source $my_confdir/headers @@ -4542,8 +4551,11 @@ source $my_confdir/lists source $my_confdir/spam source $my_confdir/hooks -set my_mailboxes = `ls ~/.var/offlineimap/mailboxes 2>/dev/null || echo /dev/null` -source $my_mailboxes +set my_mutt_mailboxes = "$VARDIR/mutt/mailboxes" +source "test -f $my_mutt_mailboxes && cat $my_mutt_mailboxes|" +#source "$my_confdir/list-mailboxes $folder $spoolfile|" set alias_file="$my_confdir/aliases" source "test -f $alias_file && cat $alias_file 2>/dev/null || echo unset alias_file|" + +source $my_confdir/sidebar