commit 36987b4efe49a4fc4b98a8174b6781a14ae95a3b
parent 9ed122d00d24f512c53fbc2a0a85392245b3a396
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Wed, 24 Feb 2016 15:09:31 -0800
add gmail and urlview
Diffstat:
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/.mutt/muttrc b/.mutt/muttrc
@@ -24,6 +24,9 @@ set my_riseup_email = "andersd@riseup.net"
set my_riseup_email = "adamsgaard@ucsd.edu"
#set my_riseup_pass = `awk '/UCSD/ {print $2}' ~/.sec/.tmp`
+# Gmail credentials
+set my_gmail_email = "andersdc@gmail.com"
+
# Remove temporary password file
#set my_del=`rm -f ~/.sec/.tmp`
@@ -49,6 +52,10 @@ folder-hook ucsd 'set \
from=$my_ucsd_email\
sendmail = "msmtp -a ucsd"'
+folder-hook gmail 'set \
+ from=$my_gmail_email\
+ sendmail = "msmtp -a gmail"'
+
# Cache files
set header_cache=~/.mutt/cache/headers
set message_cachedir=~/.mutt/cache/bodies
@@ -139,6 +146,9 @@ macro pager A "!$EDITOR ~/.mutt/aliases\n:source ~/.mutt/aliases\n" "Edit aliase
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"
+# View and select urls
+macro pager U "|urlview<enter>" "call urlview to open links"
+
# Get mutt to display its version on startup.
push <show-version>