diff --git a/assets/keymaps/default.json b/assets/keymaps/default.json index ea8c34146126c3308db6c47074e3fccbea8b4436..17168f679f7cc940cc3dc04925f36963939ee174 100644 --- a/assets/keymaps/default.json +++ b/assets/keymaps/default.json @@ -430,13 +430,6 @@ "cmd-enter": "project_search::SearchInNew" } }, - { - "context": "Workspace", - "bindings": { - "shift-escape": "dock::FocusDock", - "cmd-shift-b": "workspace::ToggleRightSidebar" - } - }, { "bindings": { "cmd-shift-k cmd-shift-right": "dock::AnchorDockRight", diff --git a/crates/workspace/src/workspace.rs b/crates/workspace/src/workspace.rs index 9a65f5df8ac7c0f249e7e2d324d69d21013a1482..9d209c6f1a80739e8cfda42e0ad8efbddaab1bf9 100644 --- a/crates/workspace/src/workspace.rs +++ b/crates/workspace/src/workspace.rs @@ -96,7 +96,6 @@ actions!( ActivateNextPane, FollowNextCollaborator, ToggleLeftSidebar, - ToggleRightSidebar, NewTerminal, NewSearch, Feedback, @@ -230,9 +229,6 @@ pub fn init(app_state: Arc, cx: &mut MutableAppContext) { cx.add_action(|workspace: &mut Workspace, _: &ToggleLeftSidebar, 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::split_pane_with_item); diff --git a/crates/zed/src/menus.rs b/crates/zed/src/menus.rs index 82b72611c2f9294a890292ad92433c348eece6cc..09525f14e5a81f3c52bba8333a84183e46421ce6 100644 --- a/crates/zed/src/menus.rs +++ b/crates/zed/src/menus.rs @@ -219,10 +219,6 @@ pub fn menus() -> Vec> { name: "Toggle Left Sidebar", action: Box::new(workspace::ToggleLeftSidebar), }, - MenuItem::Action { - name: "Toggle Right Sidebar", - action: Box::new(workspace::ToggleRightSidebar), - }, MenuItem::Submenu(Menu { name: "Editor Layout", items: vec![