Skip to content

Unexpected key strokes are inserted for some key bindings #32605

@failable

Description

@failable

Summary

For key bindings like ctrl-c h a, the h is inserted and then removed. This is super annoying as the unexpected insertion also causes the diagnosis errors and doesn't not cleared after the insertion is removed.

The issue did not exist before 0.191.0.

Steps to reproduce:

  1. Add binding "ctrl-c h a": "editor::ToggleCodeActions" to Editor context.
  2. Run some code action using ctrl-c h a.
Image

Expected Behavior:
Code action menu is pop up.

Actual Behavior:
A h is inserted then remove, then the code action menu is pop up.

Zed Version and System Specs

Zed: v0.191.0 (Zed Preview)
OS: macOS 15.5.0
Memory: 64 GiB
Architecture: aarch64

Metadata

Metadata

Assignees

No one assigned

    Labels

    keybindsKeyboard shortcuts, mapping, binding, keymaps, etc

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions