aboutsummaryrefslogtreecommitdiffstats
path: root/muttrc
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-03-20 16:37:51 +0000
committerMatthew Lemon <y@yulqen.org>2024-03-20 16:37:51 +0000
commitb1e9b2c1058e0e579a29beab09d67539d5d3cb55 (patch)
tree1d702a6e9db03be1274ed0a2350cef662024c43c /muttrc
parent655685127cb286eb83b02e93d1f0592ea22a5e37 (diff)
mbsync does not sync gmail constantly
Diffstat (limited to 'muttrc')
-rw-r--r--muttrc22
1 files changed, 15 insertions, 7 deletions
diff --git a/muttrc b/muttrc
index 5c996c7..50bee4d 100644
--- a/muttrc
+++ b/muttrc
@@ -114,9 +114,10 @@ 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>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'
+macro index Ei '<change-folder>Inbox<enter>' 'Go to Inbox'
+macro index Ea '<change-folder>Archive<enter>' 'Go to Archive'
+macro index Es '<change-folder>Sent<enter>' 'Go to Sent Mail'
+macro index ES '<change-folder>Subscriptions<enter>' 'Go to Subscription'
# Navigate threads
bind index { previous-thread
@@ -132,7 +133,7 @@ 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>clear && mbsync -a<enter>" "run mbsync to sync all mail"
+macro index O "<shell-escape>clear && mbsync purelymailchannel<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
@@ -175,6 +176,7 @@ bind attach <return> view-mailcap
macro pager \Cu "|urlview<enter>" "call urlview to open links"
# Compose View Options -------------------------------
+unset reply_self # don't reply to me in a mailing list or group!
set realname = "Matthew Lemon" # who am i?
set envelope_from # which from?
set sig_dashes # dashes before sig
@@ -190,6 +192,7 @@ set reply_to # reply to Reply to: field
set reverse_name # reply as whomever it was to
set include # include message in replies
set forward_quote # include message in forwards
+set postpone=ask-no # default to know when asking to postpone
#set editor = "vim" # Use terminal Vim to compose email.
set editor = "vim %s"
@@ -198,6 +201,7 @@ set from = "matt@matthewlemon.com"
set sendmail = "/usr/bin/msmtp -a purelymail"
set sendmail_wait = 0
set record = "+purelymail/Sent"
+set recall=no # recall with Ctrl-r instead of asking all the time
#bind compose p postpone-message
#bind index p recall-message
@@ -210,9 +214,13 @@ set query_command = "/home/lemon/src/virtualenvs/khal-venv/bin/khard email --par
## Abook
#set query_command= "abook --mutt-query '%s'"
-# macro generic,index,pager \ca "<shell-escape>abook<return>" "launch abook"
-# macro index,pager A "<pipe-message>abook --add-email<return>" "Add this sender to Abook"
-# bind editor <Tab> complete-query
+macro generic,index,pager \ca "<shell-escape>abook<return>" "launch abook"
+macro index,pager A "<pipe-message>abook --add-email<return>" "Add this sender to Abook"
+bind editor <Tab> complete-query
+bind editor ^T complete
+
+#set query_command = "khard email --parsable %s"
+# bind editor <Tab> complete-query
# bind editor ^T complete
set query_command = "khard email --parsable %s"