aboutsummaryrefslogtreecommitdiff
path: root/mutt/accounts/macros
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-08-18 16:53:21 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-08-18 16:53:21 +0200
commitae9c22e0cf9198cd5697f378a36d814136cfad43 (patch)
tree6f04429926fc7b4070f6e2970ef6ec26aadba5c9 /mutt/accounts/macros
parent508f0ab12b02285f02988bdc44dc86c94e90e2ca (diff)
downloaddotfiles-ae9c22e0cf9198cd5697f378a36d814136cfad43.tar.gz
dotfiles-ae9c22e0cf9198cd5697f378a36d814136cfad43.zip
[mutt] overhaul setup
* Add MUHQ, FAU and SNFMT accounts * Overhaul bindings to be more familiar to me * Add two new solarized 16 themes * use unicode horizontal lines for status bars
Diffstat (limited to 'mutt/accounts/macros')
-rw-r--r--mutt/accounts/macros18
1 files changed, 18 insertions, 0 deletions
diff --git a/mutt/accounts/macros b/mutt/accounts/macros
new file mode 100644
index 0000000..0f1543d
--- /dev/null
+++ b/mutt/accounts/macros
@@ -0,0 +1,18 @@
+# The macros in this file depend on the variable my_account but they evaluate its value
+# at runtime so they must be redefined when changing accounts
+
+macro index o "<shell-escape>mbsync $my_account<enter>" "run mbsync to sync mail for this account"
+
+macro index,pager s \
+ "<enter-command>set my_old_resolve=\$resolve noresolve<enter>\
+ <tag-prefix><clear-flag>n<enter-command>set resolve=\$my_old_resolve<enter>\
+ <save-message>+$my_account/Junk<enter>" \
+ "mark as read and move to junk folder"
+
+macro index,pager a \
+ "<save-message>+$my_account/Archive<enter>" \
+ "move message to the archive"
+
+macro index,pager i \
+ "<save-message>+$my_account/INBOX<enter>" \
+ "move message to the inbox"