grimoire

personal wiki
git clone git://git.pyratebeard.net/grimoire.git
Log | Files | Refs

mutt.md (1126B)


      1 # mutt
      2 
      3 search, limit and tagging [patterns][]
      4 * limit new (unread) messages using `~U`
      5 * limit messages either to: or cc: using ~C (useful for mailing lists)
      6 
      7 ## index format
      8 default index format is (taken from [muttrc man][])
      9 ```
     10 "%4C %Z %{%b %d} %-15.15L (%?l?%4l&%4c?) %s"
     11 ```
     12 
     13 current format is
     14 ```
     15 "%Z %-30.30L %M %s"
     16 ```
     17 _message status, sender, hidden msgs (in thread), subject_
     18 
     19 ## threads
     20 collapse threads using `Esc-v`
     21 
     22 [rebind collapse-thread][] to '-'
     23 ```
     24 bind index - collapse-thread
     25 ```
     26 
     27 configure threads to be collapsed when mailbox opened ([thread_ref][])
     28 ```
     29 folder-hook . "push <collapse-all>\n"
     30 ```
     31 
     32 ## attachments
     33 download directory macro ([macro source][])
     34 ```
     35 macro attach W "<save-entry><bol>~/tmp/<eol>"
     36 ```
     37 
     38 pipe pdf
     39 ```
     40 | zathura -
     41 ```
     42 
     43 [patterns]: http://www.mutt.org/doc/manual/#patterns
     44 [muttrc man]: https://linux.die.net/man/5/muttrc
     45 [rebind collapse-thread]: https://heipei.net/2009/09/10/mutt-threading-like-a-pro/
     46 [thread_ref]: http://compgroups.net/comp.mail.mutt/collapsing-threads-by-default/2550437
     47 [macro source]: https://superuser.com/questions/695541/where-does-mutt-save-attachment