summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-01-28 21:27:42 +0100
committerlassulus <git@lassul.us>2023-01-28 21:27:42 +0100
commit23f4065929de6c0438647725220915b7cdf6700b (patch)
treef2ca3fdc6dee02dcffd5c177229178bd6c013e60 /lass
parent4b2b7add164158119729e60078e0d7c03107dbf8 (diff)
l mail: add muchsync keybinding
Diffstat (limited to 'lass')
-rw-r--r--lass/2configs/mail.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/lass/2configs/mail.nix b/lass/2configs/mail.nix
index 098982892..f5b2e22b7 100644
--- a/lass/2configs/mail.nix
+++ b/lass/2configs/mail.nix
@@ -180,6 +180,15 @@ let
macro index + "<modify-labels>+*\n<sync-mailbox>" # tag as starred
macro index - "<modify-labels>-*\n<sync-mailbox>" # tag as unstarred
+ # muchsync
+ bind index \Cr noop
+ macro index \Cr \
+ "<enter-command>unset wait_key<enter> \
+ <shell-escape>${pkgs.writeDash "muchsync" ''
+ set -efu
+ ${pkgs.muchsync}/bin/muchsync -F lass@green.r
+ ''}<enter> \
+ 'run muchsync to green.r'
#killed
bind index d noop