Add keyboard shortcut to suppress prompt while deleting files/dirs (#9452)
Completes #7228. Adds back Backspace as the main delete key binding and makes Linux bindings consistent with macOS Release Notes: - ⌘-Delete/⌘-Backspace will now suppress deletion confirmation prompts in project panel ([#7228](https://github.com/zed-industries/zed/issues/7228)).
This commit is contained in:
@@ -394,7 +394,7 @@ impl<T: 'static> Model<T> {
|
||||
///
|
||||
/// The update function receives a context appropriate for its environment.
|
||||
/// When updating in an `AppContext`, it receives a `ModelContext`.
|
||||
/// When updating an a `WindowContext`, it receives a `ViewContext`.
|
||||
/// When updating in a `WindowContext`, it receives a `ViewContext`.
|
||||
pub fn update<C, R>(
|
||||
&self,
|
||||
cx: &mut C,
|
||||
|
||||
Reference in New Issue
Block a user