aboutsummaryrefslogtreecommitdiffstats
path: root/config/binds.conf
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2023-07-14 20:37:31 +0200
committerRobin Jarry <robin@jarry.cc>2023-07-16 10:12:56 +0200
commit94b1c778dbe691a75b0d918e9c40cc34f8523768 (patch)
treed3af4065a69f0cf710bde408f0eee8bfdc9dac6e /config/binds.conf
parentc2bcc4bde8b8266d63d447bbfa46acc528ad7dfd (diff)
downloadaerc-94b1c778dbe691a75b0d918e9c40cc34f8523768.tar.gz
commands: add :fold and :unfold for thread folding
Add the :fold and :unfold commands to perform thread folding. They only work on the selected message. Add vim-like bindings. Fixes: https://todo.sr.ht/~rjarry/aerc/148 Signed-off-by: Koni Marti <koni.marti@gmail.com> Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: inwit <inwit@sindominio.net>
Diffstat (limited to 'config/binds.conf')
-rw-r--r--config/binds.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/binds.conf b/config/binds.conf
index fbc157b3..3d84ea14 100644
--- a/config/binds.conf
+++ b/config/binds.conf
@@ -41,6 +41,8 @@ v = :mark -t<Enter>
V = :mark -v<Enter>
T = :toggle-threads<Enter>
+zc = :fold<Enter>
+zo = :unfold<Enter>
<Enter> = :view<Enter>
d = :prompt 'Really delete this message?' 'delete-message'<Enter>