Skip to content

Key bindings don't work at all on Linux #61306

Description

@dr3adl0rd

Reproduction steps

  1. Install zed from scratch - remove all local configuration first
  2. Run zed, choose JetBrains keymap
  3. Close zed, re-open zed
  4. Open keymap
  5. find Ctrl+W -> SelectLargerSyntaxNode
  6. Try to unbind - right click to delete - no reaction to delete - try 3-4 times
  7. Try to bind Close tab (originall Ctrl+F4) to Ctrl+W - accepted after warning that 6 other mappings use it
  8. Close zed and re-open
  9. Use Ctrl+W on active tab - no reaction, Ctrl+F4 still works
  10. Open keymap.json file, find Ctrl+W
  11. You'll find new binding instruction for Ctrl+W and Close tab
  12. You'll find 3-4 unbind instructions for Ctrl+W and SelectLargerSyntaxNode

None of the mappings I'm trying to do work this way.

Changing the order of bindings to the following makes it Work:

  1. unbind ctrl+w
  2. unbind ctrl+f4
  3. bind ctrl+w

Current vs. Expected behavior

Current state:
The unbinding and binding doesn't make any effect, as old keystrokes are persistent and new bindings are ineffective.

The expected behaviour:
The new bindings should be working, i.e. Ctrl+W should close active tab, Ctrl+F4 should not. Ctrl+W should NOT select larger syntax node.

Zed version and system specs

Zed: v1.11.3+stable.326.952d712dac48a4af2c54fb22c82d82a9d69b72d4 (Zed)
OS: Linux X11 debian 13
Memory: 62.6 GiB
Architecture: x86_64
GPU: NVIDIA GeForce RTX 5070 || NVIDIA || 610.43.02

Attach Zed log file

No response

Relevant Zed settings

No response

Relevant Keymap

keymap.json

(for AI issues) Model provider details

No response

If you are using WSL on Windows, what flavor of Linux are you using?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    state:needs triagetriage is not complete: no `area:*` label, or no `priority:*`/`frequency:*` for Bugs/Crashes

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions