aboutsummaryrefslogtreecommitdiffstats
path: root/config/binds.conf
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2024-01-29 23:52:28 +0100
committerRobin Jarry <robin@jarry.cc>2024-02-11 22:03:56 +0100
commit05874f867c76c8e9b8c1e67a57dc702e63d6d54b (patch)
treeedb8ba9a4800511f30810c5be90a709df695147e /config/binds.conf
parent635fe05d4e8ee5a6dbadf7d10b6d8340efcbc84d (diff)
downloadaerc-05874f867c76c8e9b8c1e67a57dc702e63d6d54b.tar.gz
commands: add align
Add a new :align command that aligns the selected message vertically at the top, center, or bottom of the message list. The command requires a position argument that can either be: "top", "center", or "bottom". Create the following default keybinds: zz = :align center<Enter> zt = :align top<Enter> zb = :align bottom<Enter> Changelog-added: Add new `:align` command to align the selected message at the top, center, or bottom of the message list. Suggested-by: Ángel Castañeda <angel@acsq.me> Signed-off-by: Koni Marti <koni.marti@gmail.com> Tested-by: Jason Cox <me@jasoncarloscox.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'config/binds.conf')
-rw-r--r--config/binds.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/binds.conf b/config/binds.conf
index 011d86ee..125a906b 100644
--- a/config/binds.conf
+++ b/config/binds.conf
@@ -51,6 +51,10 @@ zM = :fold -a<Enter>
zR = :unfold -a<Enter>
<tab> = :fold -t<Enter>
+zz = :align center<Enter>
+zt = :align top<Enter>
+zb = :align bottom<Enter>
+
<Enter> = :view<Enter>
d = :prompt 'Really delete this message?' 'delete-message'<Enter>
D = :delete<Enter>