Skip to content

Unable to remove specific keybindings #5844

@SogoCZE

Description

@SogoCZE

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

I noticed that you cannot remove specific keybindings. If you remove a keybinding from the custom keybinding config, it will fall back to the default one. The problem I have is that in my Czech keyboard layout, I type { with alt-b and } with alt-n, and there are default keybindings for these combinations, so I cannot type { in Zed right now.

To solve this, I would suggest either:

  1. Allowing to pass an empty string, false, or null as a keybinding command, so that these keybinds wouldn't block the default OS behavior.
  2. Don't fall back to default keybindings.

Environment

Zed 0.66.0 – /Applications/Zed.app
macOS 13.0
architecture arm64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:controls/keybindsKeyboard shortcuts, mapping, binding, keymaps, etcarea:settingsFeedback for preferences, configuration, etcbugDEPRECATED label: use issue type 'Bug' instead

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions