task | neomutt full with notmuch, back to default mua
This commit is contained in:
parent
b2cdb2f99e
commit
acf478e399
3 changed files with 47 additions and 31 deletions
|
|
@ -11,37 +11,26 @@ auto_view text/html
|
|||
bind attach,compose Q exit
|
||||
bind attach,pager i exit
|
||||
bind editor <Tab> complete-query
|
||||
bind index <f1> sidebar-next
|
||||
bind index <f3> sidebar-open
|
||||
bind index <f2> sidebar-prev
|
||||
bind index x sync-mailbox
|
||||
bind index,pager / vfolder-from-query
|
||||
bind index,pager * flag-message
|
||||
bind index,pager / vfolder-from-query
|
||||
bind index,pager <TAB> change-vfolder
|
||||
bind index,pager R group-reply
|
||||
bind index,pager Y print-message
|
||||
bind index,pager \et modify-tags
|
||||
bind index,pager c mail
|
||||
bind index,pager g change-folder
|
||||
bind index,pager n next-entry
|
||||
bind index,pager p previous-entry
|
||||
bind index,pager R group-reply
|
||||
bind pager <down> next-line
|
||||
bind pager <up> previous-line
|
||||
bind pager C copy-message
|
||||
color indicator underline default default
|
||||
hdr_order Subject: From: Date: Reply-To: To: Cc: Bcc: X-Scan-Grey: X-Bugzilla-Watch-Reason: X-Label: List-Id:
|
||||
ignore *
|
||||
macro attach K "<enter-command>unset wait_key<enter><shell-escape>rm -f /tmp/events.ics<enter><save-entry><kill-line>/tmp/events.ics<enter><shell-escape> vkhal -k /tmp/events.ics<enter>"
|
||||
macro attach,index,pager <f9> "!/home/don/bin/mbsync gmail-fast\n" "sync imap"
|
||||
macro compose y "<ispell><send-message>" 'Send message w/spell check'
|
||||
macro generic \em ":source ~/.config/neomutt/neomuttrc\n" "reload ~/.muttrc"
|
||||
macro index i "g!\n" "Goto Inbox"
|
||||
macro index B '<enter-command>toggle sidebar_visible<enter><refresh>'
|
||||
macro index \t "g\r"
|
||||
macro index,pager @ "<save-message>=Inbox<enter>" "Ham it!"
|
||||
macro index,pager A "<pipe-message>khard add-email<return>" "add the sender email address to khard"
|
||||
# macro index,pager F "<pipe-message>mutt2task<enter><save-message>=Followup<enter>" "Follow up"
|
||||
macro index,pager O <pipe-message>mail2obsidian<enter>
|
||||
macro index,pager Q ":set quit=yes\nq" "Quit mutt without asking"
|
||||
macro index,pager S "<save-message>=SPAM<enter>" "Spam it!"
|
||||
macro index,pager W <pipe-message>mail2onenote<enter>
|
||||
macro index,pager w <pipe-message>emailtask<enter>
|
||||
macro index,pager y "<save-message><enter>" "Archive"
|
||||
# macro index,pager <f1> "<save-message>=snooze/1<enter>"
|
||||
# macro index,pager <f2> "<save-message>=snooze/2<enter>"
|
||||
# macro index,pager <f3> "<save-message>=snooze/3<enter>"
|
||||
|
|
@ -49,11 +38,40 @@ macro index,pager y "<save-message><enter>" "Archive"
|
|||
# macro index,pager <f5> "<save-message>=snooze/5<enter>"
|
||||
# macro index,pager <f6> "<save-message>=snooze/6<enter>"
|
||||
# macro index,pager <f7> "<save-message>=snooze/7<enter>"
|
||||
macro pager B '<enter-command>toggle sidebar_visible<enter><redraw-screen>'
|
||||
# macro index,pager F "<pipe-message>mutt2task<enter><save-message>=Followup<enter>" "Follow up"
|
||||
# macro index,pager O <pipe-message>mail2obsidian<enter>
|
||||
# macro index,pager W <pipe-message>mail2onenote<enter>
|
||||
macro attach K "<enter-command>unset wait_key<enter><shell-escape>rm -f /tmp/events.ics<enter><save-entry><kill-line>/tmp/events.ics<enter><shell-escape> vkhal -k /tmp/events.ics<enter>"
|
||||
macro attach,index,pager <f9> "!/home/don/bin/mbsync gmail-fast\n" "sync imap"
|
||||
macro compose y "<ispell><send-message>" 'Send message w/spell check'
|
||||
macro generic \em ":source ~/.config/neomutt/neomuttrc\n" "reload ~/.muttrc"
|
||||
macro index B '<enter-command>toggle sidebar_visible<enter><refresh>'
|
||||
macro index \t "g\r"
|
||||
macro index i "g!\n" "Goto Inbox"
|
||||
macro index,pager @ "<modify-labels>-spam -new -unread +inbox<enter><sync-mailbox>" "Ham it!"
|
||||
macro index,pager A "<pipe-message>khard add-email<return>" "add the sender email address to khard"
|
||||
macro index,pager N "<modify-labels>-new -unread<enter><sync-mailbox>"
|
||||
macro index,pager Q ":set quit=yes\nq" "Quit mutt without asking"
|
||||
macro index,pager S "<modify-labels>+spam -new -unread -inbox<enter><sync-mailbox><save-message>=SPAM<enter>" "Spam it!"
|
||||
macro index,pager d "<modify-labels>-new -unread -inbox +deleted<enter><previous-entry><delete-message>"
|
||||
macro index,pager w <pipe-message>emailtask<enter>
|
||||
macro index,pager y "<modify-labels>+archive -new -unread -inbox<enter><sync-mailbox>"
|
||||
macro pager B '<enter-command>toggle sidebar_visible<enter><redraw-screen>'
|
||||
macro pager l "ql" "Goto index and limit"
|
||||
macro pager o ":set pipe_decode\n|urlscan --run-safe myweb --pipe -c -d\n:unset pipe_decode\n" "call urlscan to extract URLs out of a message"
|
||||
macro pager x "ix" "exit pager and sync mailbox"
|
||||
mailboxes =Inbox =news =pen =mailing-lists =development =SPAM
|
||||
set nm_default_uri="notmuch:///home/don/Mail" # path to the maildir
|
||||
set virtual_spoolfile=yes # enable virtual folders
|
||||
virtual-mailboxes "Inbox" "notmuch://?query=tag:inbox and NOT tag:archive and NOT tag:deleted"
|
||||
virtual-mailboxes "news" "notmuch://?query=tag:news and NOT tag:archive and NOT tag:deleted"
|
||||
virtual-mailboxes "pen" "notmuch://?query=tag:pen and NOT tag:archive and NOT tag:deleted"
|
||||
virtual-mailboxes "mailing-lists" "notmuch://?query=tag:mailing-lists and NOT tag:archive and NOT tag:deleted"
|
||||
virtual-mailboxes "development" "notmuch://?query=tag:development and NOT tag:archive and NOT tag:deleted"
|
||||
virtual-mailboxes "SPAM" "notmuch://?query=tag:SPAM and NOT tag:archive and NOT tag:deleted"
|
||||
virtual-mailboxes "Unread" "notmuch://?query=tag:unread"
|
||||
virtual-mailboxes "Starred" "notmuch://?query=tag:*"
|
||||
virtual-mailboxes "Sent" "notmuch://?query=tag:sent"
|
||||
sidebar_pin "Inbox" "news" "pen" "mailing-lists" "development" "SPAM" "Unread" "Starred" "Sent"
|
||||
# =Followup
|
||||
reply-hook '~C don@donaldharper.com' 'my_hdr From: "Don Harper" <don@donaldharper.com>; my_hdr Reply-To: "Don Harper" <don@donaldharper.com>;set from="don@donaldharper.com"'
|
||||
reply-hook '~C don@donharper.org' 'my_hdr From: "Don Harper" <don@donharper.org>; my_hdr Reply-To: "Don Harper" <don@donharper.org>;set from="don@donharper.org"'
|
||||
|
|
@ -98,7 +116,7 @@ set hidden_host
|
|||
set hostname="duckland.org"
|
||||
set implicit_autoview=yes
|
||||
set include=yes
|
||||
set index_format="%2C %Z %[%m/%d %l:%M %P] %-20.20F | %s"
|
||||
set index_format="%2C %Z %[%m/%d %l:%M %P] %-20.20F (%g) | %s"
|
||||
set ispell="aspell -e -c"
|
||||
set mailcap_path=~/.config/neomutt/mailcap
|
||||
#set maildir_trash
|
||||
|
|
@ -122,16 +140,16 @@ set reverse_name=yes
|
|||
set sendmail="/run/wrappers/bin/sendmail"
|
||||
set sendmail_wait=3
|
||||
set sidebar_short_path
|
||||
set sidebar_format = "%B %n %!"
|
||||
set sidebar_format = "%D %n %!"
|
||||
set sidebar_new_mail_only
|
||||
set sort=threads
|
||||
set sort_aux=last-date-sent
|
||||
set spoolfile=+Inbox
|
||||
set spoolfile=Inbox
|
||||
set status_format="---Mutt: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Post:%p?%?b? Inc:%b? ]-%>-(%P)---"
|
||||
set status_on_top
|
||||
set timeout=10
|
||||
set tmpdir="/var/tmp"
|
||||
set trash="+Trash"
|
||||
# set trash="+Trash"
|
||||
set use_envelope_from=yes
|
||||
set wrap=-10
|
||||
set write_inc=25
|
||||
|
|
|
|||
|
|
@ -34,11 +34,9 @@ movetag() {
|
|||
addtag aurora from "collegeboard@noreply.collegeboard.org"
|
||||
addtag kisd from "noreply@sportsyou.com bbstheatre@gmail.com do-not-reply@seesaw.me katyisd.org mail.remind.com no-reply@schoolnutritionandfitness.com noreply@mailer.sportsengine.com notifications@instructure.com webstores@revtrak.net"
|
||||
addtag uh from "donotreply@studentaid.gov hello@earnest.com hello@hello.earnest.com parents@uh.campusespmail.com reply@info.myfedloan.org uh.edu"
|
||||
movetag development from "notifications@github.com outgoing@sr.ht"
|
||||
movetag mailing-lists from "noreply@bandcamp.com tom@newsletter.tomscott.com info@repebble.com news@shop.kobo.com hello@determinate.systems james@jamespopsys.com designthinkingcomic@substack.com info@zmp.techtarget.com newsletter@popey.com noreply@mail.selfh.st parker.higgins@tailscale.com hello@redecentralize.org noreply@selfh.st no-reply@drivethrurpg.com no-reply@hello.charlestyrwhitt.com marketing@gc2b.info newsletters@bookshop.org contact@kickstargogo.com email@em.myaccountaccess.com do-not-reply@thangs.com TurboTax@em1.turbotax.intuit.com cincoconnect@engage.goenumerate.com all3dp.com amazon.com aur.archlinux.org drivethrucomics.com e.crm.lego.com e.honeywellhome.com emac.usaa.com email.tripit.com email1.roku.com freebirdsworldburrito.com gnty.com h1.hilton.com ianworthphotography.co.uk linkedin.com mailer.netflix.com me.kickstarter.com meetup.com mp1.tripadvisor.com nathan@nathanlowell.com nature.com penzeys.com photoephemeris.com planetary.org promotions.sprouts.com redditmail.com sherwoodforestfaire.com thanx.com townsq.io travel2.hiltongrandvacations.com tripit.com ttias.be uh.campusespmail.com xpsship.com ymcahouston.org youtube.com"
|
||||
movetag development from "github.com outgoing@sr.ht gohugo.io"
|
||||
movetag mailing-lists from "substack.com qutebrowser.org nabucasa.com noreply@bandcamp.com tom@newsletter.tomscott.com info@repebble.com news@shop.kobo.com hello@determinate.systems james@jamespopsys.com info@zmp.techtarget.com newsletter@popey.com noreply@mail.selfh.st parker.higgins@tailscale.com hello@redecentralize.org noreply@selfh.st no-reply@drivethrurpg.com no-reply@hello.charlestyrwhitt.com marketing@gc2b.info newsletters@bookshop.org contact@kickstargogo.com email@em.myaccountaccess.com do-not-reply@thangs.com TurboTax@em1.turbotax.intuit.com cincoconnect@engage.goenumerate.com all3dp.com amazon.com aur.archlinux.org drivethrucomics.com e.crm.lego.com e.honeywellhome.com emac.usaa.com email.tripit.com email1.roku.com freebirdsworldburrito.com gnty.com h1.hilton.com ianworthphotography.co.uk linkedin.com mailer.netflix.com me.kickstarter.com meetup.com mp1.tripadvisor.com nathan@nathanlowell.com nature.com penzeys.com photoephemeris.com planetary.org promotions.sprouts.com redditmail.com sherwoodforestfaire.com thanx.com townsq.io travel2.hiltongrandvacations.com tripit.com ttias.be uh.campusespmail.com xpsship.com ymcahouston.org youtube.com"
|
||||
movetag mailing-lists to "~rjarry/aerc-discuss@lists.sr.ht"
|
||||
movetag news from "email@washingtonpost.com email@nl.npr.org bbcnewsdaily@bbc.co.uk newsletters.cnn.com mailer.chron.com mailer.houstonchronicle.com"
|
||||
# query:"list:((281c839c990f42b374467ae5f.38179.list-id.mcsv.net 6424888.xt.local 7219534.xt.local NTg1OTQxNC00NzgtNA== a2e22d7f24f6d1e3464d05be4.330790.list-id.mcsv.net news.theregister.co.uk))" tag:[ "news" ]
|
||||
# query:"list:((a1d0492028bd019fd37c01eb6.77408.list-id.mcsv.net 1021275.xt.local f452ec3bdbd6b3981f19e668amc e2bfda4c698819ae31aed58a4mc 4caf0a639e8acd8cf045f7bf9.972716.list-id.mcsv.net 72a12beb88773f8d735b1ef60.728193.list-id.mcsv.net 100019430.xt.local arch-announce.lists.archlinux.org arch-general.lists.archlinux.org arch-security.lists.archlinux.org capone.1.0.sparkpostmail.com docker.general.discourse.linuxserver.io micaelwidell.buttondown.email qutebrowser.lists.qutebrowser.org))" tag:[ "mailing-lists" ]
|
||||
# query:"list:((discourse.gohugo.io support.discourse.gohugo.io OR 59644032.naviterm.detoxify92.gitlab.com))" tag:[ "development" ]
|
||||
movetag pen from "spacecitypenclub@gmail.com goldspot.com gouletpens.com penaddict.com inkjournal.com penchalet.com store+14054876@t.shopifyemail.com jetpens.com fprevolutionusa.com penrealm.com fountainpennetwork.com"
|
||||
movetag news from "bbc.com theregister.co.uk email@washingtonpost.com email@nl.npr.org bbcnewsdaily@bbc.co.uk newsletters.cnn.com mailer.chron.com mailer.houstonchronicle.com"
|
||||
# query:"list:(100002107.xt.local)" tag:[ "kisd" ]
|
||||
|
|
|
|||
|
|
@ -9,6 +9,6 @@ windows:
|
|||
panes:
|
||||
- domailcal.sh
|
||||
- domailtask.sh
|
||||
- aerc
|
||||
- neomutt
|
||||
- rss: newsboat
|
||||
- music: naviterm
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue