Mutt: Difference between revisions

From Celeste@Hoppinglife
Jump to navigation Jump to search
Update some mutt shortcuts.
 
Line 3: Line 3:
== Usage ==
== Usage ==


=== Manage the threads ===
=== Regex searching and deleting ===
 
Delete all messages using <code>D regex</code>.
 
* Use <code>Esc t</code> to tag all messages in a thread.
* Use <code>Esc t</code> to tag all messages in a thread.
* Use <code>;s</code> to move tagged messages.
* Use <code>;s</code> to move tagged messages.
== Setup ==
=== Manage the threads ===
It is useful to set up mutt to order threads based on last reply:
<syntaxhighlight>
set sort_thread_groups  = last-date-sent
set sort_aux            = date-sent
</syntaxhighlight>


=== Macros ===
=== Macros ===

Latest revision as of 17:58, 22 February 2023

Mutt is a command line tool for reading the emails.

Usage

Regex searching and deleting

Delete all messages using D regex.

  • Use Esc t to tag all messages in a thread.
  • Use ;s to move tagged messages.

Setup

Manage the threads

It is useful to set up mutt to order threads based on last reply:

set sort_thread_groups  = last-date-sent
set sort_aux            = date-sent

Macros

  • Archive macros:
macro index,pager "\z" "<save-message>=[Gmail]/All Mail<enter><enter>" "Archive"
macro index,pager "\Z" "<tag-thread><tag-prefix-cond><save-message>=[Gmail]/All Mail<enter><enter>" "Archive Thread"