diff options
author | Ben Sima <ben@bsima.me> | 2018-07-10 11:13:37 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2018-07-10 11:13:37 -0700 |
commit | 486a7d2e64d3872088b7d61b9cd679f667b4d56b (patch) | |
tree | fc76f96bb696fdc6dca2205f62a865e0b92ce5c2 /muttrc | |
parent | 0bb256c4c6f295ab5df2f3bd18ec5fe054ad62c5 (diff) |
Add notmuch and urlscan configs to mutt
Diffstat (limited to 'muttrc')
-rw-r--r-- | muttrc | 29 |
1 files changed, 27 insertions, 2 deletions
@@ -21,8 +21,6 @@ source $alias_file set move = no set include set auto_tag = yes -alternative_order text/plain text/html * -auto_view text/x-vcard text/html text/enriched bind editor ^T complete set pager_index_lines = 10 set implicit_autoview = yes @@ -60,6 +58,33 @@ set use_envelope_from = yes set envelope_from = yes set text_flowed = yes +# View multimedia emails + +alternative_order text/plain text/html * +auto_view text/x-vcard text/html text/enriched +macro index,pager \cb "<pipe-message> urlscan<Enter>" "Extract URLs" +macro attach,compose \cb "<pipe-entry> urlscan<Enter>" "Extract URLs" + +# Searching/tagging with notmuch +# +# - https://neomutt.org/feature/notmuch +# - https://wiki.archlinux.org/index.php/Notmuch#Integrating_with_NeoMutt + +set virtual_spoolfile=yes + +set nm_default_uri = "notmuch:///home/ben/Mail" +virtual-mailboxes "inbox" "notmuch://?query=tag:inbox" +virtual-mailboxes "archive" "notmuch://?query=tag:archive" +virtual-mailboxes "sent" "notmuch://?query=tag:sent" + +macro index S "<vfolder-from-query>" "search mailbox" +macro index,pager A "<modify-labels>+archive -unread -inbox\n" "archive message" +macro index c "<change-vfolder>?" "change to vfolder overview" + +bind index,pager y modify-labels +bind index,pager + entire-thread +bind index,pager X change-vfolder + ## Accounts set my_pw = "`pass bnet/helium/mail/ben`" |