Commit Graph
2 Commits
Author SHA1 Message Date
dualfroz 40b12a4e6c Fix shift-enter in buffer search with the JetBrains keymap
With the JetBrains base keymap, shift-enter in the buffer search query
inserted a newline instead of going to the previous match. The keymap
binds shift-enter to `editor::Newline` for auto-height editors, which
matches at the editor's depth, while its search bar binding only matched
at the `BufferSearchBar` level and lost to it. The default keymap's
`BufferSearchBar && !in_replace > Editor` binding loses too, since base
keymaps are loaded after it.

Bind it on the query editor itself, like the default keymaps and the
thread search binding right below it do, so it wins by coming later in
the same file.

Closes #62696
2026-10-03 02:02:28 +02:00
upstream a0a55b30d3 Upstream zed-industries/zed state of the touched files before 5769f6869d 2026-10-03 02:02:28 +02:00