more account customization

This commit is contained in:
Alex Kelly 2021-03-26 16:10:47 -04:00
parent a19d3abcc0
commit 39c85a8429
4 changed files with 11 additions and 5 deletions

View file

@ -7,3 +7,4 @@ color hdrdefault brightwhite black
color quoted brightgreen black color quoted brightgreen black
color status black cyan color status black cyan
color indicator default blue color indicator default blue
color progress white red

View file

@ -5,8 +5,8 @@ macro index <F8> \
macro index <F9> \ macro index <F9> \
"<enter-command>unset wait_key<enter><pipe-message>~/bin/mutt-notmuch thread<enter><change-folder-readonly>~/.cache/Maildir/<enter><enter-command>set wait_key<enter>" \ "<enter-command>unset wait_key<enter><pipe-message>~/bin/mutt-notmuch thread<enter><change-folder-readonly>~/.cache/Maildir/<enter><enter-command>set wait_key<enter>" \
"search and reconstruct owning thread (using notmuch)" "search and reconstruct owning thread (using notmuch)"
# macro index t "<pipe-message>mutt2task<enter>" # macro index,browser t "<pipe-message>mutt2task<enter>"
macro index t "<pipe-message>/home/kellya/projects/arachnitech/mutt2tw/mutt2tw.py<enter>"\ macro index,browser,pager t "<pipe-message>/home/kellya/projects/arachnitech/mutt2tw/mutt2tw.py<enter>"\
"A" "A"
# 'L' performs a notmuch query, showing only the results # 'L' performs a notmuch query, showing only the results
macro index L "<enter-command>unset wait_key<enter><shell-escape>read -p 'notmuch query: ' x; echo \$x >~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;chomp@a;s/\^id:// for@a;$,=\"|\";print@a'\`\"<enter>" "show only messages matching a notmuch pattern" macro index L "<enter-command>unset wait_key<enter><shell-escape>read -p 'notmuch query: ' x; echo \$x >~/.cache/mutt_terms<enter><limit>~i \"\`notmuch search --output=messages \$(cat ~/.cache/mutt_terms) | head -n 600 | perl -le '@a=<>;chomp@a;s/\^id:// for@a;$,=\"|\";print@a'\`\"<enter>" "show only messages matching a notmuch pattern"
@ -25,3 +25,8 @@ macro attach A "<pipe-message>/home/kellya/projects/public/mutt-filters/vcalenda
# Archive # Archive
# macro index A ":set confirmappend=no delete=yes\n<save-message>=archive\n<sync-mailbox>:set confirmappend=no delete=yes\n<modify-labels>+archive -unread -inbox\\n" # macro index A ":set confirmappend=no delete=yes\n<save-message>=archive\n<sync-mailbox>:set confirmappend=no delete=yes\n<modify-labels>+archive -unread -inbox\\n"
bind index,browser,pager . noop
macro index .cp '<enter-command>source ~/.mutt/accounts/arachnitech<enter><change-folder>~/Maildir/arachnitech/INBOX/<enter>'
macro index .cc '<enter-command>source ~/.mutt/accounts/franklin<enter><change-folder>~/Maildir/franklin/INBOX/<enter>'
#macro pager .ob <pipe-entry>'urlview'<enter> 'Follow links with urlview'
macro index,pager .ob "<pipe-message> urlscan<Enter>" "call urlscan to extract URLs out of a message"

View file

@ -1,5 +1,5 @@
named-mailboxes "====== Arachnitech ======" "+arachnitech/INBOX" named-mailboxes "━━━━━┫ Arachnitech ┣━━━━━" "+arachnitech/INBOX"
named-mailboxes " Blockchain" "+arachnitech/Blockchain" named-mailboxes " Blockchain" "+arachnitech/Blockchain"
named-mailboxes "======== Franklin =======" "+franklin/INBOX" named-mailboxes "━━━━━┫ Franklin ┣━━━━━" "+franklin/INBOX"
named-mailboxes " Archive" "+franklin/Archive" named-mailboxes " Archive" "+franklin/Archive"
named-mailboxes " Sent" "+franklin/Sent" named-mailboxes " Sent" "+franklin/Sent"

View file

@ -1,4 +1,4 @@
set nm_default_url = "notmuch:///home/kellya/Maildir" set nm_default_url = "notmuch:///home/kellya/Maildir"
virtual-mailboxes "======= Not Much =======" "notmuch://?query=tag:inbox" virtual-mailboxes "━━━━━┫ Not Much ┣━━━━━" "notmuch://?query=tag:inbox"
virtual-mailboxes " Arachnitech INBOX" "notmuch://?query=tag:inbox&query=to:*arachnitech.com" virtual-mailboxes " Arachnitech INBOX" "notmuch://?query=tag:inbox&query=to:*arachnitech.com"
virtual-mailboxes " Franklin INBOX" "notmuch://?query=tag:inbox&query=to:*franklin.edu" virtual-mailboxes " Franklin INBOX" "notmuch://?query=tag:inbox&query=to:*franklin.edu"