X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=mutttips.mdwn;h=eb6bf8f19de4e5ee6beac56a2a75bfd013768145;hb=533fdcc042b623381240f93dccf24cf1c48317db;hp=911940094c95020ce6affae52ca013a55303db69;hpb=34169c9a43bc9c7d3a1a7b795e807164860b167b;p=notmuch-wiki diff --git a/mutttips.mdwn b/mutttips.mdwn index 9119400..eb6bf8f 100644 --- a/mutttips.mdwn +++ b/mutttips.mdwn @@ -19,7 +19,7 @@ with notmuch, in its contrib directory. # Using Notmuch with neomutt -*Note*: This discussion was updated by a non-mutt user from talking about mutt-kz to +*Note*: This discussion was updated by a non-mutt user from talking about mutt-kz to [neomutt](https://neomutt.org/). Caveat lector! @@ -48,11 +48,11 @@ Here is my `.muttrc` I use with `mutt-kz`, explanations as comments: "Sent" "notmuch://?query=tag:sent" # sets up queries for virtual folders # notmuch bindings macro index \\\\ "" # looks up a hand made query - macro index A "+archive -unread -inbox\\n" # tag as Archived - macro index I "-inbox -unread\\n" # removed from inbox - macro index S "-inbox -unread +junk\\n" # tag as Junk mail - macro index + "+*\\n" # tag as starred - macro index - "-*\\n" # tag as unstarred + macro index A "+archive -unread -inbox" # tag as Archived + macro index I "-inbox -unread" # removed from inbox + macro index S "-inbox -unread +junk" # tag as Junk mail + macro index + "+*" # tag as starred + macro index - "-*" # tag as unstarred # sidebar set sidebar_width = 20 set sidebar_visible = yes # set to "no" to disable sidebar view at startup @@ -79,8 +79,8 @@ the bindings defined in configuration (such as A/I/S/+/-). You may have noticed in `neomutts`'s configuration that I set the `sendmail` variable of mutt to a `nm_sendmail` script. This is for tagging outgoing mail each time I send -a mail. Here is the content of the script (which may be used directly in mutt's -variable, I did not try). +a mail. Here is the content of the script (which may be used directly in mutt's +variable, I did not try). Source of `nm_sendmail`: @@ -146,7 +146,7 @@ enough for my needs, and here is an example of configuration that can be useful: ### All unmatched mails :0:notmuch.lock * .* - | notmuch insert -v $TAGS + | notmuch insert $TAGS there's a line that updates the addressbook with addresses of current mail, and you'll be able to read more about it on the [[vimtips]] page.