From e86298e39a2dab6b017ac932aee94ce23dd68971 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Thu, 3 Dec 2020 11:53:27 +0100 Subject: [PATCH] aerc: Simplify label mappings Every modification starts with `m` (for mark, akin to vim), and pushes the messages into the respective state: `a`rchive, `i`nbox, `m`ark (flag), `d`ump. Only deletion (`dd`) behaves slightly differently, in that it simulates a state not a label (even though labels are used in the background). Fixed moving through different parts of an e-mail being reversed from what one would expect. --- mail/.config/aerc/binds.conf | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/mail/.config/aerc/binds.conf b/mail/.config/aerc/binds.conf index 03de89a..c2cdec0 100644 --- a/mail/.config/aerc/binds.conf +++ b/mail/.config/aerc/binds.conf @@ -39,13 +39,12 @@ V = :mark -v = :view l = :view D = :prompt 'Really delete this message?' 'delete-message' -mi = :modify-labels +inbox -archived -deleted +mi = :modify-labels +inbox -dump -deleted mm = :modify-labels +flagged -mI = :modify-labels +flagged -dd = :modify-labels +deleted -inbox -md = :modify-labels +deleted -inbox -mD = :modify-labels -deleted -ma = :modify-labels -inbox -deleted +mM = :modify-labels -flagged +dd = :modify-labels +deleted -inbox -dump +ma = :modify-labels -inbox -deleted -dump +md = :modify-labels +dump -inbox C = :compose @@ -77,8 +76,8 @@ Rr = :reply Rq = :reply -q H = :toggle-headers - = :prev-part - = :next-part + = :prev-part + = :next-part J = :next K = :prev