aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2024-01-28 00:52:21 +0100
committerRobin Jarry <robin@jarry.cc>2024-02-11 21:23:10 +0100
commit64502d9e8b0458456f255e65f392950463d68bac (patch)
treef03eabb9ce08e9ef19e81b90961aae05c9d9979e /config
parent28ee8e65a45d38f10938571fddea4b137a1de115 (diff)
downloadaerc-64502d9e8b0458456f255e65f392950463d68bac.tar.gz
compose: show annotations on the review screen
Customize annotations on the review screen. Annotations will overwrite the default descriptions. Replace the [][]string construct with a named struct for better readability. Fixes: https://todo.sr.ht/~rjarry/aerc/118 Changelog-deprecated: Built-in descriptions for the default keybinds shown on the review screen will be deprecated in a future release. Descriptions can be added to those keybinds with inline comments in binds.conf. Signed-off-by: Koni Marti <koni.marti@gmail.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'config')
-rw-r--r--config/binds.conf17
1 files changed, 9 insertions, 8 deletions
diff --git a/config/binds.conf b/config/binds.conf
index 4c2efa47..011d86ee 100644
--- a/config/binds.conf
+++ b/config/binds.conf
@@ -158,14 +158,15 @@ $ex = <C-x>
[compose::review]
# Keybindings used when reviewing a message to be sent
-y = :send<Enter>
-n = :abort<Enter>
-v = :preview<Enter>
-p = :postpone<Enter>
-q = :choose -o d discard abort -o p postpone postpone<Enter>
-e = :edit<Enter>
-a = :attach<space>
-d = :detach<space>
+# Inline comments are used as descriptions on the review screen
+y = :send<Enter> # Send
+n = :abort<Enter> # Abort (discard message, no confirmation)
+v = :preview<Enter> # Preview message
+p = :postpone<Enter> # Postpone
+q = :choose -o d discard abort -o p postpone postpone<Enter> # Abort or postpone
+e = :edit<Enter> # Edit
+a = :attach<space> # Add attachment
+d = :detach<space> # Remove attachment
[terminal]
$noinherit = true