Remove toggle right sidebar command

This commit is contained in:
Joseph Lyons 2023-02-11 21:53:10 -05:00
parent 912c396b37
commit d42d495cb0
3 changed files with 0 additions and 15 deletions

View file

@ -430,13 +430,6 @@
"cmd-enter": "project_search::SearchInNew" "cmd-enter": "project_search::SearchInNew"
} }
}, },
{
"context": "Workspace",
"bindings": {
"shift-escape": "dock::FocusDock",
"cmd-shift-b": "workspace::ToggleRightSidebar"
}
},
{ {
"bindings": { "bindings": {
"cmd-shift-k cmd-shift-right": "dock::AnchorDockRight", "cmd-shift-k cmd-shift-right": "dock::AnchorDockRight",

View file

@ -96,7 +96,6 @@ actions!(
ActivateNextPane, ActivateNextPane,
FollowNextCollaborator, FollowNextCollaborator,
ToggleLeftSidebar, ToggleLeftSidebar,
ToggleRightSidebar,
NewTerminal, NewTerminal,
NewSearch, NewSearch,
Feedback, Feedback,
@ -230,9 +229,6 @@ pub fn init(app_state: Arc<AppState>, cx: &mut MutableAppContext) {
cx.add_action(|workspace: &mut Workspace, _: &ToggleLeftSidebar, cx| { cx.add_action(|workspace: &mut Workspace, _: &ToggleLeftSidebar, cx| {
workspace.toggle_sidebar(SidebarSide::Left, cx); workspace.toggle_sidebar(SidebarSide::Left, cx);
}); });
cx.add_action(|workspace: &mut Workspace, _: &ToggleRightSidebar, cx| {
workspace.toggle_sidebar(SidebarSide::Right, cx);
});
cx.add_action(Workspace::activate_pane_at_index); cx.add_action(Workspace::activate_pane_at_index);
cx.add_action(Workspace::split_pane_with_item); cx.add_action(Workspace::split_pane_with_item);

View file

@ -219,10 +219,6 @@ pub fn menus() -> Vec<Menu<'static>> {
name: "Toggle Left Sidebar", name: "Toggle Left Sidebar",
action: Box::new(workspace::ToggleLeftSidebar), action: Box::new(workspace::ToggleLeftSidebar),
}, },
MenuItem::Action {
name: "Toggle Right Sidebar",
action: Box::new(workspace::ToggleRightSidebar),
},
MenuItem::Submenu(Menu { MenuItem::Submenu(Menu {
name: "Editor Layout", name: "Editor Layout",
items: vec![ items: vec![