aboutsummaryrefslogtreecommitdiffstats
path: root/mutt/muttrc
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2016-02-05 00:19:20 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2016-02-05 00:20:02 +0100
commit597d13addc66291c51ae7ba1161f3d124ad6d370 (patch)
tree61721058e7dba1e32702346f95386f7249123df3 /mutt/muttrc
parentb71d17eb7ea919c4b9b8d0645e1843d55776634d (diff)
downloaddotfiles-597d13addc66291c51ae7ba1161f3d124ad6d370.tar.xz
mutt: add support for archlinux.org email
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
Diffstat (limited to 'mutt/muttrc')
-rw-r--r--mutt/muttrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/mutt/muttrc b/mutt/muttrc
index d3ed01f..369176a 100644
--- a/mutt/muttrc
+++ b/mutt/muttrc
@@ -96,11 +96,16 @@ macro index,pager A '<pipe-message>goobook -c "$XDG_CONFIG_HOME/goobookrc" add<r
'add the sender address to Google contacts'
bind editor <Tab> complete-query
+# Sending email
+macro generic "<Esc>A" ":source \"$XDG_CONFIG_HOME\"/mutt/demize@archlinux.org.muttrc<return>"
+macro generic "<Esc>K" ":source \"$XDG_CONFIG_HOME\"/mutt/johannes@kyriasis.com.muttrc<return>"
+
+
# Sync email
macro index O '<shell-escape>mbsync -c "$XDG_CONFIG_HOME/mbsyncrc" theos<return>' \
'run mbsync to sync all mail'
-set sendmail = "/usr/bin/msmtp --file $XDG_CONFIG_HOME/msmtprc -a theos"
+set sendmail = "msmtp --file $XDG_CONFIG_HOME/msmtprc -a theos"
set sendmail_wait = 0
set copy = yes