summaryrefslogtreecommitdiffstats
path: root/.config/mutt/accounts/3-gmail_br.muttrc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/mutt/accounts/3-gmail_br.muttrc (renamed from .config/mutt/accounts/4-gmail_br.muttrc)18
1 files changed, 12 insertions, 6 deletions
diff --git a/.config/mutt/accounts/4-gmail_br.muttrc b/.config/mutt/accounts/3-gmail_br.muttrc
index ac92a3c..04c7af6 100644
--- a/.config/mutt/accounts/4-gmail_br.muttrc
+++ b/.config/mutt/accounts/3-gmail_br.muttrc
@@ -9,7 +9,7 @@ set header_cache = $XDG_RUNTIME_DIR/mutt/gmail_br/headers
set message_cachedir = $XDG_RUNTIME_DIR/mutt/gmail_br/bodies
set mbox_type = Maildir
set crypt_autosign = yes
-set signature = $XDG_CONFIG_HOME/mutt/sig/2-gmail_br
+set signature = $XDG_CONFIG_HOME/mutt/sig/3-gmail_br
bind index,pager gg noop
bind index,pager g noop
@@ -18,10 +18,16 @@ bind index,pager C noop
bind index gg first-entry
bind pager gg top
bind pager G bottom
-macro index o "<shell-escape>killall mbsync >/dev/null 2>&1; mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc gmail_br<enter>" "run mbsync to sync bousset.rudy@gmail.com"
+macro index o "<shell-escape>killall mbsync >/dev/null 2>&1; mbsync gmail_br<enter>" "run mbsync to sync bousset.rudy@gmail.com"
unmailboxes *
-mailboxes "=INBOX" "=[Gmail]/Sent Mail" "=[Gmail]/Drafts" "=[Gmail]/Spam" "=[Gmail]/Trash" "=Keep"
+named-mailboxes \
+ "inbox" =INBOX \
+ "sent" "=[Gmail]/Sent Mail" \
+ "draft" =[Gmail]/Drafts \
+ "junk" =[Gmail]/Spam \
+ "trash" =[Gmail]/Trash \
+ "keep" =Keep
macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox"
macro index,pager Mi ";<save-message>=INBOX<enter>" "move mail to inbox"
@@ -30,15 +36,15 @@ set spoolfile = "+INBOX"
macro index,pager gs "<change-folder>=[Gmail]/Sent Mail<enter>" "go to sent"
macro index,pager Ms ";<save-message>=[Gmail]/Sent Mail<enter>" "move mail to sent"
macro index,pager Cs ";<copy-message>=[Gmail]/Sent Mail<enter>" "copy mail to sent"
-set record = ""
+set record = "+[Gmail]/Sent Mail"
macro index,pager gd "<change-folder>=[Gmail]/Drafts<enter>" "go to drafts"
macro index,pager Md ";<save-message>=[Gmail]/Drafts<enter>" "move mail to drafts"
macro index,pager Cd ";<copy-message>=[Gmail]/Drafts<enter>" "copy mail to drafts"
-set postponed = "+[Gmail]/Drafts"
+set postponed = +[Gmail]/Drafts
macro index,pager gS "<change-folder>=[Gmail]/Spam<enter>" "go to spam"
macro index,pager MS ";<save-message>=[Gmail]/Spam<enter>" "move mail to spam"
macro index,pager CS ";<copy-message>=[Gmail]/Spam<enter>" "copy mail to spam"
macro index,pager gt "<change-folder>=[Gmail]/Trash<enter>" "go to trash"
macro index,pager Mt ";<save-message>=[Gmail]/Trash<enter>" "move mail to trash"
macro index,pager Ct ";<copy-message>=[Gmail]/Trash<enter>" "copy mail to trash"
-set trash = "+[Gmail]/Trash"
+set trash = +[Gmail]/Trash