Skip to content

Ctrl+/ is received as plain "-" in panes (breaks Neovim/LazyVim terminal toggle) #2225

Description

@piplhu

Is this a reproducible bug?

  • I confirm this is a reproducible bug, not a feature request, idea, question, contribution proposal, or direction check.
  • I reproduced this bug on the version and environment reported below using the exact steps provided.

Current behavior

When running applications inside a Herdr pane (especially Neovim + LazyVim), pressing Ctrl+/ is not delivered as the control sequence <C-/> (or the common equivalent <C-_>).

Instead, Neovim receives a plain - character.

This breaks LazyVim’s default keybinding:

  • <C-/> / <C-_> → Toggle floating terminal (Snacks terminal)

Previously this worked correctly. Now it only inserts - (or moves the cursor in some contexts).

Expected behavior

a control sequence such as ^_ (or the proper CSI / extended key for Ctrl+/).

Reproduction

  1. Start Herdr and open a pane.
  2. Launch Neovim with LazyVim inside the pane.
  3. Enter Insert mode.
  4. Press Ctrl+/.

Impact

Would be great if Herdr could pass through Ctrl+/ (and preferably Ctrl+_ as well) unchanged to the pane process, similar to how other multiplexers handle common control keys used by editors.

Environment

  • Herdr version: herdr 0.7.5
  • Update channel (stable or preview): stable
  • Operating system: WSL archlinux
  • Terminal: Window Terminal
  • Shell, if relevant: fish
  • Relevant config, if any:

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions