commit f4f644a664023090d12a965f707f4c47384a6b71
parent 254e3077ad532570a98b2b8385a4fdc771ce0683
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Sat, 27 Feb 2016 15:48:19 -0800
add bindings to navigate to sent folders
Diffstat:
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/.mutt/muttrc b/.mutt/muttrc
@@ -47,7 +47,7 @@ folder-hook riseup 'set \
folder-hook geomail 'set \
from=$my_nfit_email\
- record=+riseup/Sent\
+ record=+geomail/Sent\
sendmail = "msmtp -a geomail"'
folder-hook ucsd 'set \
@@ -138,11 +138,17 @@ bind index <space> collapse-thread
macro index M "T.*\n;WN" "Mark all messages as read"
-# Macros to change between inboxes (e.g. SPACE 1)
+# Macros to change between inboxes (e.g. SPACE 1), use noop editor to accept
+# IMAP folders with spaces
+bind editor <space> noop
macro index \ 1 "<change-folder>=riseup/INBOX/<enter>" "Go to Riseup inbox"
+macro index \ ! "<change-folder>=riseup/Sent/<enter>" "Go to Riseup sent"
macro index \ 2 "<change-folder>=geomail/INBOX/<enter>" "Go to Geomail inbox"
+macro index \ @ "<change-folder>=geomail/Sent/<enter>" "Go to Geomail sent"
macro index \ 3 "<change-folder>=ucsd/INBOX/<enter>" "Go to UCSD inbox"
+macro index \ \# "<change-folder>=ucsd/Sent Items/<enter>" "Go to UCSD sent"
macro index \ 4 "<change-folder>=gmail/INBOX/<enter>" "Go to Gmail inbox"
+macro index \ $ "<change-folder>=gmail/[Gmail].Sent\ Mail/<enter>" "Go to Gmail sent"
macro index \ c "<change-folder>=geomail/INBOX.cryolist/<enter>" "Go to cryolist"
macro index A "!$EDITOR ~/.mutt/aliases\n:source ~/.mutt/aliases\n" "Edit aliases file and reload it"