Open
Description
Summary
There is something wrong with the key binding precedence processing. In some cases a keybinding won't trigger an action but just report it as low precedence
event if it is the only matching keybinding.
User keymap config:
[
{
"context": "Pane > Editor",
"bindings": { "alt-i": "editor::Hover" }
},
{
"context": "GitPanel",
"bindings": { "alt-i": "git_panel::GenerateCommitMessage" }
}
]
Key context view
In the editor tab buffer

In the Git panel in the commit message editor

Expected Behavior: in the Git panel alt-i
matches and triggers git_panel::GenerateCommitMessage
Actual Behavior: in the Git panel alt-i
doesn't match but is just marked as low precedence
Zed Version and System Specs
Zed: v0.190.5 (Zed)
OS: macOS 14.7.0
Memory: 32 GiB
Architecture: aarch64