mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 03:14:56 +07:00
Fix search bar not closing on escape in Helix keymap (#48847)
Release Notes: - Fixed an issue where pressing `Escape` in the search bar did not dismiss it when using the Helix keymap, while it worked correctly in Vim mode. Co-authored-by: buildingvibes <buildingvibes@users.noreply.github.com> Co-authored-by: Jakub Konka <kubkon@jakubkonka.com>
This commit is contained in:
parent
0800c007c4
commit
fa0ba05b4c
1 changed files with 2 additions and 2 deletions
|
|
@ -418,7 +418,7 @@
|
|||
},
|
||||
},
|
||||
{
|
||||
"context": "VimControl && vim_mode == helix_normal && !menu",
|
||||
"context": "VimControl && vim_mode == helix_normal && !menu && !BufferSearchBar",
|
||||
"bindings": {
|
||||
"j": ["vim::Down", { "display_lines": true }],
|
||||
"down": ["vim::Down", { "display_lines": true }],
|
||||
|
|
@ -436,7 +436,7 @@
|
|||
},
|
||||
},
|
||||
{
|
||||
"context": "vim_mode == helix_select && !menu",
|
||||
"context": "vim_mode == helix_select && !menu && !BufferSearchBar",
|
||||
"bindings": {
|
||||
"escape": "vim::SwitchToHelixNormalMode",
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue