Remove redundant scopes and actions to fix the focus toggle on ESC

co-authored-by: Antonio <antonio@zed.dev>
This commit is contained in:
Kirill Bulatov
2023-05-15 13:10:15 +03:00
co-authored by Antonio
parent 93705cbe55
commit 18e0ee44a6
3 changed files with 16 additions and 9 deletions
+3 -3
View File
@@ -191,7 +191,7 @@
}
},
{
"context": "BufferSearchBar > Editor",
"context": "BufferSearchBar",
"bindings": {
"escape": "buffer_search::Dismiss",
"tab": "buffer_search::FocusEditor",
@@ -200,13 +200,13 @@
}
},
{
"context": "ProjectSearchBar > Editor",
"context": "ProjectSearchBar",
"bindings": {
"escape": "project_search::ToggleFocus"
}
},
{
"context": "ProjectSearchView > Editor",
"context": "ProjectSearchView",
"bindings": {
"escape": "project_search::ToggleFocus"
}