aboutsummaryrefslogtreecommitdiffstats
path: root/config/binds.conf
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2022-09-19 23:58:24 +0200
committerRobin Jarry <robin@jarry.cc>2022-09-20 20:55:29 +0200
commitbb9ac43e13a96dc5bc501f60c3afb3718fe8085d (patch)
treee97b7a32ee94beccf7bd85e4a7fd961b3442bc62 /config/binds.conf
parentfcd75ab52973a914bfa5af8e92617c551b59fc1f (diff)
downloadaerc-bb9ac43e13a96dc5bc501f60c3afb3718fe8085d.tar.gz
switch: add -n and -p flags for relative switch
Allow switching to next or previous account with switch-account -n and switch-account -p, respectively. By default, these are bound to Alt-n and Alt-p. Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Koni Marti <koni.marti@gmail.com>
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 f46111b0..9e23ab91 100644
--- a/config/binds.conf
+++ b/config/binds.conf
@@ -94,6 +94,8 @@ $noinherit = true
$ex = <C-x>
<C-k> = :prev-field<Enter>
<C-j> = :next-field<Enter>
+<A-p> = :switch-account -p<Enter>
+<A-n> = :switch-account -n<Enter>
<tab> = :next-field<Enter>
<C-p> = :prev-tab<Enter>
<C-n> = :next-tab<Enter>