summaryrefslogtreecommitdiff
path: root/muttrc
diff options
context:
space:
mode:
Diffstat (limited to 'muttrc')
-rw-r--r--muttrc7
1 files changed, 4 insertions, 3 deletions
diff --git a/muttrc b/muttrc
index 2d160ab..14b0fda 100644
--- a/muttrc
+++ b/muttrc
@@ -18,6 +18,7 @@ set markers = no
set mark_old = no
set mime_forward = yes
set smtp_authenticators = 'gssapi:login'
+set wait_key = no
auto_view text/html
auto_view application/pdf
alternative_order text/plain text/enriched text/html
@@ -37,7 +38,7 @@ bind index D delete-message
bind index U undelete-message
bind index F search
bind index,pager R group-reply
-macro index,pager S '<sync-mailbox>
+macro index,pager S '<sync-mailbox><shell-escape>pkill -RTMIN+12 i3blocks<enter>'
macro index,pager \Cu |urlview\n
# View attachments properly.
@@ -55,8 +56,8 @@ set include # include message in replies
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>$HOME/.config/mutt/etc/mailsync.sh<enter>" "run offlineimap to sync all mail"
+macro index o "<shell-escape>$HOME/.config/mutt/etc/mailsync.sh -qf INBOX<enter>" "run offlineimap to sync inbox"
#copy/move dialogs
macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"