diff options
author | Bence Ferdinandy <bence@ferdinandy.com> | 2024-01-26 22:36:02 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-01-26 22:38:33 +0100 |
commit | 1aa1f46a2cb8cdc62eeaf520870fc3de3d3eed25 (patch) | |
tree | b4414babcd3c6468fea9476ae76002cce16fa7ba | |
parent | 1a129a21239abf188d2ea78b46e832e6266739b7 (diff) | |
download | aerc-1aa1f46a2cb8cdc62eeaf520870fc3de3d3eed25.tar.gz |
binds: add some vim-inspired binds
The fold binding already had zo and zc, but were missing a few vim fold
analogues. Also add ]t and [t for navigating tabs, which also serves as
an example how to do that, as it needs escaping in ini.
Signed-off-by: Bence Ferdinandy <bence@ferdinandy.com>
Acked-by: Robin Jarry <robin@jarry.cc>
-rw-r--r-- | config/binds.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/binds.conf b/config/binds.conf index 76457bc4..2247a9d5 100644 --- a/config/binds.conf +++ b/config/binds.conf @@ -5,6 +5,8 @@ <C-PgUp> = :prev-tab<Enter> <C-n> = :next-tab<Enter> <C-PgDn> = :next-tab<Enter> +\[t = :prev-tab<Enter> +\]t = :next-tab<Enter> <C-t> = :term<Enter> ? = :help keys<Enter> <C-c> = :prompt 'Quit?' quit<Enter> @@ -44,6 +46,9 @@ V = :mark -v<Enter> T = :toggle-threads<Enter> zc = :fold<Enter> zo = :unfold<Enter> +za = :fold -t<Enter> +zM = :fold -a<Enter> +zR = :unfold -a<Enter> <tab> = :fold -t<Enter> <Enter> = :view<Enter> |