project_replace: Fix up key bindings (#3034)

Release Notes:
- N/A
This commit is contained in:
Piotr Osiewicz 2023-09-26 18:40:41 +02:00 committed by GitHub
parent 342a00b89e
commit 36f022bb58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 4 deletions

View file

@ -262,6 +262,13 @@
"down": "search::NextHistoryQuery"
}
},
{
"context": "ProjectSearchBar && in_replace",
"bindings": {
"enter": "search::ReplaceNext",
"cmd-enter": "search::ReplaceAll"
}
},
{
"context": "ProjectSearchView",
"bindings": {
@ -563,7 +570,7 @@
}
},
{
"context": "ProjectSearchBar",
"context": "ProjectSearchBar && !in_replace",
"bindings": {
"cmd-enter": "project_search::SearchInNew"
}