diff options
author | Matthew Lemon <y@yulqen.org> | 2023-05-30 20:37:11 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-05-30 20:37:11 +0100 |
commit | 734bbe593468b0a7898ea991c0bcdef7c7d3f208 (patch) | |
tree | 9b7c29f7164b213847c3b173b25d34c1f507f5b4 /muttrc | |
parent | ffd603aac3c5a9330c58c801daabd15706e2fb56 (diff) |
Purelymail!
Diffstat (limited to '')
-rw-r--r-- | muttrc | 47 |
1 files changed, 23 insertions, 24 deletions
@@ -60,7 +60,7 @@ hdr_order from: to: cc: bcc: date: subject: # and in this order # Account Settings ----------------------------------- # Default inbox. -set spoolfile = "+matt-matthewlemon.com/INBOX" +set spoolfile = "+purelymail/INBOX" #set spoolfile = "+INBOX" # Alternate email addresses. @@ -70,24 +70,23 @@ set spoolfile = "+matt-matthewlemon.com/INBOX" subscribe announce@openbsd.org -named-mailboxes Inbox +matt-matthewlemon.com/INBOX \ - Sent +matt-matthewlemon.com/Sent \ - Archive +matt-matthewlemon.com/Archive \ - Drafts +matt-matthewlemon.com/Drafts \ - # Archive.2020 +matt-matthewlemon.com/Archive.2020 \ - # Sent.2020 +matt-matthewlemon.com/Sent.2020 \ - Trash +matt-matthewlemon.com/Trash - -# mailboxes +matt-matthewlemon.com/INBOX \ -# +matt-matthewlemon.com/INBOX.Archive \ -# +matt-matthewlemon.com/INBOX.Sent\ Items \ -# +matt-matthewlemon.com/INBOX.Drafts \ -# +matt-matthewlemon.com/INBOX.Trash \ +named-mailboxes Inbox +purelymail/INBOX \ + Sent +purelymail/Sent \ + Archive +purelymail/Archive \ + Subscriptions +purelymail/Subscriptions \ + Drafts +purelymail/Drafts \ + Trash +purelymail/Trash + +# mailboxes purelymail/INBOX \ +# purelymail/INBOX.Archive \ +# purelymail/INBOX.Sent\ Items \ +# purelymail/INBOX.Drafts \ +# purelymail/INBOX.Trash \ #mailboxes +INBOX +INBOX.Archive +INBOX.Sent\ Items +INBOX.Drafts +INBOX.Trash # Other special folders. -set mbox = "+matt-matthewlemon.com/INBOX.Archive" -set postponed = "+matt-matthewlemon.com/INBOX.Drafts" +set mbox = "purelymail/INBOX.Archive" +set postponed = "purelymail/INBOX.Drafts" # Index View Options --------------------------------- set date_format = "%d-%m-%Y" @@ -113,9 +112,9 @@ macro index,pager \cb <pipe-entry>'urlview'<enter> 'Follow links with urlview' macro attach,compose \cb <pipe-entry>'urlview'<enter> 'Follow links with urlview' # Folder Shortcuts -macro index Ei '<change-folder>+matt-matthewlemon.com/INBOX<enter>' 'Go to Inbox' -macro index Ea '<change-folder>+matt-matthewlemon.com/Archive<enter>' 'Go to Archive' -macro index Es '<change-folder>+matt-matthewlemon.com/Sent<enter>' 'Go to Sent Mail' +macro index Ei '<change-folder>purelymail/INBOX<enter>' 'Go to Inbox' +macro index Ea '<change-folder>purelymail/Archive<enter>' 'Go to Archive' +macro index Es '<change-folder>purelymail/Sent<enter>' 'Go to Sent Mail' # Navigate threads bind index { previous-thread @@ -131,8 +130,8 @@ bind index <space> collapse-thread macro index \Cr "T~U<enter><tag-prefix><clear-flag>N<untag-pattern>.<enter>" "mark all messages as read" # Sync email -macro index O "<shell-escape>offlineimap<enter>" "run offlineimap to sync all mail" -macro index o "<shell-escape>offlineimap -qf INBOX<enter>" "run offlineimap to sync inbox" +macro index O "<shell-escape>clear && mbsync -a<enter>" "run mbsync to sync all mail" +#macro index o "<shell-escape>offlineimap -qf INBOX<enter>" "run offlineimap to sync inbox" # Saner copy/move dialogs macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox" @@ -194,9 +193,9 @@ set forward_quote # include message in forwards set editor = "vim %s" set from = "matt@matthewlemon.com" -set sendmail = "/usr/bin/msmtp -a matthewlemon" +set sendmail = "/usr/bin/msmtp -a purelymail" set sendmail_wait = 0 -set record = "+matt-matthewlemon.com/Sent" +set record = "+purelymail/Sent" #bind compose p postpone-message #bind index p recall-message @@ -225,7 +224,7 @@ bind pager N search-opposite macro index a "<limit>all\n" "show all messages (undo limit)" # get an email from mutt to taskwarrior -macro index T "<pipe-message>mutt2task<enter> <move-message>+matt-matthewlemon.com/INBOX.Archive<enter>" +macro index T "<pipe-message>mutt2task<enter> <move-message>purelymail/INBOX.Archive<enter>" # Handle searching using notmuch (see Steve Losh article) # this doesn't work on linux so using another macro index S "<enter-command>unset wait_key<enter><shell-escape>mutt-notmuch-py.py ~/.mail/temporary/search<enter><change-folder-readonly>+temporary/search<enter>" "search mail (using notmuch)" |