]> git.nbdom.net Git - nb.git/commitdiff
mutt
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Thu, 11 Aug 2016 10:22:29 +0000 (12:22 +0200)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Thu, 11 Aug 2016 10:22:29 +0000 (12:22 +0200)
etc/mutt/folders

index 45bc8405361eb94a0c91263f520fd8674ff8a5dc..1dd87efb79a392ca5a84a0bab585368f755b7cba 100644 (file)
@@ -15,4 +15,16 @@ set record=+Sent
 
 # Check new messages from mailboxes
 #mailboxes `echo $HOME/Mail/* | sed s/outbox// | sed s/trash// | sed s/spam//`
-mailboxes `echo $HOME/Mail/* | sed 's/\/\(Sent\|Drafts\|Trash\) //g'`
+unmailboxes "*"
+mailboxes `echo ~/Mail/* | sed 's/\/\(Sent\|Drafts\|Trash\) //g'`
+
+# Add macros to make the folder browser usable by always using the mailboxes setup above: 
+macro index c "<change-folder>?<toggle-mailboxes>" "open a different folder"
+macro pager c "<change-folder>?<toggle-mailboxes>" "open a different folder"
+
+#To additionally get straight to the folder browser when copying, moving and attaching mail, add the following macros:
+
+macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
+macro index M "<save-message>?<toggle-mailboxes>" "move a message to a mailbox"
+
+macro compose A "<attach-message>?<toggle-mailboxes>" "attach message(s) to this message"