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.
This commit is contained in:
Marty Oehme 2020-12-03 11:53:27 +01:00
parent 0bf1c11cb2
commit e86298e39a
Signed by: Marty
GPG key ID: B7538B8F50A1C800

View file

@ -39,13 +39,12 @@ V = :mark -v<Enter>
<Enter> = :view<Enter>
l = :view<Enter>
D = :prompt 'Really delete this message?' 'delete-message'<Enter>
mi = :modify-labels +inbox -archived -deleted<Enter>
mi = :modify-labels +inbox -dump -deleted<Enter>
mm = :modify-labels +flagged<Enter>
mI = :modify-labels +flagged<Enter>
dd = :modify-labels +deleted -inbox<Enter>
md = :modify-labels +deleted -inbox<Enter>
mD = :modify-labels -deleted<Enter>
ma = :modify-labels -inbox -deleted<Enter>
mM = :modify-labels -flagged<Enter>
dd = :modify-labels +deleted -inbox -dump<Enter>
ma = :modify-labels -inbox -deleted -dump<Enter>
md = :modify-labels +dump -inbox<Enter>
C = :compose<Enter>
@ -77,8 +76,8 @@ Rr = :reply<Enter>
Rq = :reply -q<Enter>
H = :toggle-headers<Enter>
<C-n> = :prev-part<Enter>
<C-p> = :next-part<Enter>
<C-p> = :prev-part<Enter>
<C-n> = :next-part<Enter>
J = :next<Enter>
K = :prev<Enter>