summaryrefslogtreecommitdiff
path: root/mutt
diff options
context:
space:
mode:
authorPatrick Simianer <pks@pks.rocks>2020-08-12 07:30:46 +0200
committerPatrick Simianer <pks@pks.rocks>2020-08-12 07:30:46 +0200
commite7f18b647e3ea10862bb7d5f423942d9d678b3ab (patch)
tree979944ac113bd8674cbdf9ba007b94f3e04ddc95 /mutt
parentb5958a1c796600b5e1fdf15e7b3d4038343ebd3f (diff)
mutt: refactoring
Diffstat (limited to 'mutt')
-rw-r--r--mutt/.mutt/muttrc25
1 files changed, 13 insertions, 12 deletions
diff --git a/mutt/.mutt/muttrc b/mutt/.mutt/muttrc
index 8470cb2..0de9b6d 100644
--- a/mutt/.mutt/muttrc
+++ b/mutt/.mutt/muttrc
@@ -22,8 +22,8 @@ bind index F "flag-message"
# macros
set wait_key = no
-macro index,pager G "<shell-escape>imapfilter -c ~/.imapfilter/personal.lua &>/dev/null && mbsync personal && notmuch new 2>/dev/null<enter>"
-macro index,pager H "<shell-escape>imapfilter -c ~/.imapfilter/work.lua &>/dev/null && mbsync work && notmuch new 2>/dev/null<enter>"
+macro index,pager G "<shell-escape>imapfilter -c ~/.imapfilter/primary.lua &>/dev/null && mbsync primary && notmuch new 2>/dev/null<enter>"
+macro index,pager H "<shell-escape>imapfilter -c ~/.imapfilter/secondary.lua &>/dev/null && mbsync secondary && notmuch new 2>/dev/null<enter>"
macro index,pager J "<shell-escape>mbsync -a && notmuch new 2>/dev/null<enter>"
macro index <esc>m "T~N<enter>;WNT~O<enter>;WO\CT~T<enter>" "mark all messages read"
macro index c "<change-folder>?<toggle-mailboxes>" "open a different folder"
@@ -39,17 +39,18 @@ ignore *
unignore from date subject to cc
hdr_order from to cc date subject
-# mailboxes
-mailboxes =personal/inbox =personal/drafts =personal/all
-mailboxes =work/inbox =work/drafts =work/all
+# primary mailboxes
+mailboxes =primary/inbox =primary/drafts =primary/all
+# secondary mailboxes
+mailboxes
# folder hooks
-folder-hook personal/* source ~/.mutt/personal.rc
-folder-hook work/* source ~/.mutt/work.rc
+folder-hook primary/* source ~/.mutt/primary.rc
+folder-hook secondary/* source ~/.mutt/secondary.rc
folder-hook . 'set read_inc=1'
-folder-hook personal/all 'set read_inc=1000'
-folder-hook work/all 'set read_inc=1000'
-folder-hook work/lists 'set read_inc=1000'
+folder-hook primary/all 'set read_inc=1000'
+folder-hook secondary/all 'set read_inc=1000'
+folder-hook secondary/lists 'set read_inc=1000'
# notmuch
set my_notmuchfs_folder="~/.notmuchfs"
@@ -94,6 +95,6 @@ unset help
# ui
source ~/.mutt/ui.rc
-# default personal
-source ~/.mutt/personal.rc
+# default primary
+source ~/.mutt/primary.rc