Skip to content

How to use ToggleNextPane with Ctrl + Tab? #1962

Open
@RoneoOrg

Description

@RoneoOrg

Hi there,

I want to navigate between panes with Ctrl + Tab .

To do so, I set this in ~/.config/zellij/config.kdl:

keybinds {
    normal {
        bind "Ctrl: Tab" { FocusNextPane; }

(I'm new to the .kbl syntax and most of the doc and issues are written for Yaml)

Problem

I get the following error when saving the config file and restarting zellij:

  $ zellij
  × Failed to parse Zellij configuration
   ╭─[~/.config/zellij/config.kdl:5:1]
      ...
 6 │         bind "Ctrl Tab" { FocusNextPane; }
   ·         ─────────────────┬─────────────────
   ·                          ╰── Invalid key: 'Ctrl Tab'

I also tried the following syntaxes: "Ctrl: Tab" and "Ctrl: 'Tab'"

Note that other keybindings work fine, for example bind "Tab" { FocusNextPane; } works perfectly.

It seems to be specific to the Ctrl + Tab combination. What am I missing?

Technical details

zellij --version: 0.33.0
stty size: 55 211
uname -av: Linux linux 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64 GNU/Linux
gnome-terminal --version: GNOME Terminal 3.38.3 using VTE 0.62.3 +BIDI +GNUTLS +ICU +SYSTEMD

Any hint is welcome, Thanks !

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions