Align project panel and git panel deletion behavior (#27525)
This change makes the git panel and project panel behave the same, on Linux and macOS, and adds prompts. Release Notes: - Changed the git panel to prompt before restoring a file.
This commit is contained in:
@@ -754,8 +754,11 @@
|
||||
"escape": "git_panel::ToggleFocus",
|
||||
"ctrl-enter": "git::Commit",
|
||||
"alt-enter": "menu::SecondaryConfirm",
|
||||
"shift-delete": "git::RestoreFile",
|
||||
"ctrl-delete": "git::RestoreFile"
|
||||
"delete": ["git::RestoreFile", { "skip_prompt": false }],
|
||||
"backspace": ["git::RestoreFile", { "skip_prompt": false }],
|
||||
"shift-delete": ["git::RestoreFile", { "skip_prompt": false }],
|
||||
"ctrl-backspace": ["git::RestoreFile", { "skip_prompt": false }],
|
||||
"ctrl-delete": ["git::RestoreFile", { "skip_prompt": false }]
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user