task | fall back to maildir for neomutt..need more time to figure out notmuch tags
This commit is contained in:
parent
acf478e399
commit
92be6df8e9
3 changed files with 49 additions and 29 deletions
|
|
@ -12,15 +12,13 @@ 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 <f2> sidebar-open
|
||||
bind index <f3> sidebar-prev
|
||||
bind index x sync-mailbox
|
||||
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
|
||||
|
|
@ -48,31 +46,48 @@ 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"
|
||||
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
|
||||
################################################################################
|
||||
# mdir config
|
||||
macro index,pager @ "<save-message>=Inbox<enter>" "Ham it!"
|
||||
macro index,pager S "<save-message>=SPAM<enter>" "Spam it!"
|
||||
macro index,pager y "<save-message><enter>" "Archive"
|
||||
mailboxes =Inbox =news =pen =mailing-lists =development =SPAM
|
||||
set spoolfile=+Inbox
|
||||
set trash="+Trash"
|
||||
set index_format="%2C %Z %[%m/%d %l:%M %P] %-20.20F | %s"
|
||||
|
||||
################################################################################
|
||||
# notmuch config
|
||||
# macro index,pager @ "<modify-labels>-spam -new -unread +inbox<enter><sync-mailbox>" "Ham it!"
|
||||
# macro index,pager N "<modify-labels>-new -unread<enter><sync-mailbox>"
|
||||
# macro index,pager S "<modify-labels>+spam -new -unread -inbox<enter><sync-mailbox><save-message>=SPAM<enter>" "Spam it!"
|
||||
# macro index,pager y "<modify-labels>+archive -new -unread -inbox<enter><sync-mailbox>"
|
||||
# macro index,pager d "<modify-labels>-new -unread -inbox +deleted<enter><previous-entry><delete-message>"
|
||||
# bind index,pager \et modify-tags
|
||||
# bind index,pager <TAB> change-vfolder
|
||||
# set nm_default_uri="notmuch:///home/don/Mail" # path to the maildir
|
||||
# set virtual_spoolfile=yes # enable virtual folders
|
||||
# set spoolfile=Inbox
|
||||
# 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"
|
||||
# set index_format="%2C %Z %[%m/%d %l:%M %P] %-20.20F (%g) | %s"
|
||||
# ################################################################################
|
||||
|
||||
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"'
|
||||
reply-hook '~C donald.m.harper@gmail.com' 'my_hdr From: "Don Harper" <donald.m.harper@gmail.com>; my_hdr Reply-To: "Don Harper" <donald.m.harper@gmail.com>;set from="donald.m.harper@gmail.com"'
|
||||
|
|
@ -116,7 +131,6 @@ 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 (%g) | %s"
|
||||
set ispell="aspell -e -c"
|
||||
set mailcap_path=~/.config/neomutt/mailcap
|
||||
#set maildir_trash
|
||||
|
|
@ -144,12 +158,10 @@ set sidebar_format = "%D %n %!"
|
|||
set sidebar_new_mail_only
|
||||
set sort=threads
|
||||
set sort_aux=last-date-sent
|
||||
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 use_envelope_from=yes
|
||||
set wrap=-10
|
||||
set write_inc=25
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue