From: Samir Benmendil Date: Mon, 18 Jul 2022 11:18:16 +0000 (+0100) Subject: mutt: tidy mailboxes definitions X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/535c6a043c385d7b44da9d11632278107c11b180?ds=inline mutt: tidy mailboxes definitions Use `+` instead of `=` because they are the same but are less confusing in `name = =mailbox/folder`. Add extra wio folders. --- diff --git a/mutt/accounts/mailfence b/mutt/accounts/mailfence index aedd516..11c2eae 100644 --- a/mutt/accounts/mailfence +++ b/mutt/accounts/mailfence @@ -4,11 +4,11 @@ set from = "me@rmz.io" my_hdr Bcc: sent@rmz.io set sendmail = "msmtp -a mailfence" -set spoolfile = "+mailfence/inbox" # set inbox -set postponed = "+mailfence/drafts" # drafts folder -set record = "+mailfence/sent" # fcc sent message into folder -set trash = "+mailfence/trash" # deleted messages go here -set mbox = "+mailfence/archive" +set spoolfile = "+mailfence/inbox" # set inbox +set postponed = "+mailfence/drafts" # drafts folder +set record = "+mailfence/sent" # fcc sent message into folder +set trash = "+mailfence/trash" # deleted messages go here +set mbox = "+mailfence/archive" unset move # do not move read msgs, we archive them after 3 months # contacts @@ -16,15 +16,15 @@ set query_command = "khard email --parsable '%s'" # add sender to khard macro index,pager a "khard add-email" "add the sender address to khard" -mailboxes "+mailfence/inbox" -mailboxes "+mailfence/sent" -mailboxes "+mailfence/youtube" -mailboxes "+mailfence/archive" -mailboxes "+mailfence/drafts" -mailboxes "+mailfence/spam" -mailboxes "+mailfence/trash" +mailboxes +mailfence/inbox +mailboxes +mailfence/sent +mailboxes +mailfence/youtube +mailboxes +mailfence/archive +mailboxes +mailfence/drafts +mailboxes +mailfence/spam +mailboxes +mailfence/trash -macro index,pager gi "=mailfence/inbox" "go to inbox" -macro index,pager gy "=mailfence/youtube" "go to youtube" -macro index,pager ga "=mailfence/archive" "go to archive" -macro index,pager gs "=mailfence/spam" "go to spam" +macro index,pager gi "+mailfence/inbox" "go to inbox" +macro index,pager gy "+mailfence/youtube" "go to youtube" +macro index,pager ga "+mailfence/archive" "go to archive" +macro index,pager gs "+mailfence/spam" "go to spam" diff --git a/mutt/accounts/wio b/mutt/accounts/wio index 3acfef2..20af2d1 100644 --- a/mutt/accounts/wio +++ b/mutt/accounts/wio @@ -4,21 +4,23 @@ set from = "sbenmendil@witekio.com" my_hdr Bcc: sbenmendil@witekio.com set sendmail = "msmtp -a wio" -set spoolfile = "+wio/inbox" # set inbox -set postponed = "+wio/drafts" # drafts folder -unset record # do not move sent msgs to a folder, gmail does that -unset move # do not move read msgs, gmail does that +set spoolfile = "+wio/inbox" # set inbox +set postponed = "+wio/drafts" # drafts folder +set record = "+wio/sent" # fcc sent message into folder +set trash = "+wio/bin" # deleted messages go here +set mbox = "+wio/archive" +unset move # do not move read msgs, we archive them after 3 months # goobook set query_command = "goobook query '%s'" -mailboxes "+wio/inbox" -mailboxes "+wio/sent" -mailboxes "+wio/archive" -mailboxes "+wio/drafts" -mailboxes "+wio/spam" -mailboxes "+wio/bin" +mailboxes +wio/inbox +mailboxes +wio/sent +mailboxes +wio/archive +mailboxes +wio/drafts +mailboxes +wio/spam +mailboxes +wio/bin -macro index,pager gi "=wio/inbox" "go to inbox" -macro index,pager ga "=wio/archive" "go to archive" -macro index,pager gs "=wio/spam" "go to spam" +macro index,pager gi "+wio/inbox" "go to inbox" +macro index,pager ga "+wio/archive" "go to archive" +macro index,pager gs "+wio/spam" "go to spam"