* On 09 Jun 2015, Orm Finnendahl wrote:
>
> is there an option in mutt to display some indicators in the leftmost
> column in the index for mails with attachments or is there a way to
> filter out mails without attachment? I would prefer this indicator to
Use %X in index_format to show the attachment count. You can use it
conditionally to make it look better:
%?X?%2X& ?
I use something like this:
%?X?{%2X}&%4c?
which shows me the attachment count if there are attachments, or the
message size otherwise.
Use ~X [number range] to search for them.
> only indicate "real" attachments and not simple multipart text+html
> mails containing more or less the same content. I often have to search
> my mail directories for a certain attachment and this would simplify
> and speed up this process tremendously.
See this to learn how to tell mutt what attachments you're interested
in:
http://dev.mutt.org/doc/manual.html#attachments
--
David Champion • [email protected]