-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Labels
area:controls/keybindsKeyboard shortcuts, mapping, binding, keymaps, etcKeyboard shortcuts, mapping, binding, keymaps, etcplatform:linuxhappens only on linux, not other OShappens only on linux, not other OS
Description
Summary
Description
Because the edit_prediction::ToggleMenu and editor::Format share the same keybind (ctrl-shift-i), the edit_prediction::ToggleMenu never happens. Formatting works, though.
It would also be nice if zed had some kind of automatic way of marking keybinds as conflicting with other keybinds, so that these kinds of issues are easier to find.
Steps to reproduce:
- Start zed
- Use ctrl+shift+i to toggle the editor prediction menu
- It will format instead.
Expected Behavior: there should be no conflicts between keybinds
Actual Behavior: the menu never opens because of the conflict
Fixed with this keymap
In my config I changed editor::Format to ctrl+alt+l, because that's the same keybind that vscode uses by default on linux.
Zed Version and System Specs
Zed: v0.184.8 (Zed)
OS: Linux Wayland arch unknown
Memory: 30.5 GiB
Architecture: x86_64
GPU: NVIDIA GeForce RTX 3080 || NVIDIA || 570.144
henare
Metadata
Metadata
Assignees
Labels
area:controls/keybindsKeyboard shortcuts, mapping, binding, keymaps, etcKeyboard shortcuts, mapping, binding, keymaps, etcplatform:linuxhappens only on linux, not other OShappens only on linux, not other OS
[ { "context": "Workspace", "bindings": { // "shift shift": "file_finder::Toggle" } }, { "context": "Editor", "bindings": { // "j k": ["workspace::SendKeystrokes", "escape"] "ctrl-alt-l": "editor::Format", "ctrl-shift-i": "edit_prediction::ToggleMenu" } } ]