mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 05:15:00 +00:00
Add key binding and menu item for Save All
This commit is contained in:
parent
0becbe482a
commit
7f92401bca
2 changed files with 6 additions and 1 deletions
|
@ -220,7 +220,8 @@
|
|||
"cmd-t": "project_symbols::Toggle",
|
||||
"cmd-p": "file_finder::Toggle",
|
||||
"cmd-shift-P": "command_palette::Toggle",
|
||||
"cmd-shift-M": "diagnostics::Deploy"
|
||||
"cmd-shift-M": "diagnostics::Deploy",
|
||||
"cmd-alt-s": "workspace::SaveAll"
|
||||
}
|
||||
},
|
||||
// Bindings from Sublime Text
|
||||
|
|
|
@ -54,6 +54,10 @@ pub fn menus() -> Vec<Menu<'static>> {
|
|||
name: "Save As…",
|
||||
action: Box::new(workspace::SaveAs),
|
||||
},
|
||||
MenuItem::Action {
|
||||
name: "Save All",
|
||||
action: Box::new(workspace::SaveAll),
|
||||
},
|
||||
MenuItem::Action {
|
||||
name: "Close Editor",
|
||||
action: Box::new(workspace::CloseActiveItem),
|
||||
|
|
Loading…
Reference in a new issue