From 18a379f20ca6028a1dbf7406e4822e17a9c53905 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Thu, 30 Sep 2021 10:50:58 -0600 Subject: [PATCH] Scope the left and right bindings in the project panel --- zed/src/project_panel.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zed/src/project_panel.rs b/zed/src/project_panel.rs index 5e6747de78..e7142be0a2 100644 --- a/zed/src/project_panel.rs +++ b/zed/src/project_panel.rs @@ -69,8 +69,8 @@ pub fn init(cx: &mut MutableAppContext) { cx.add_action(ProjectPanel::select_next); cx.add_action(ProjectPanel::open_entry); cx.add_bindings([ - Binding::new("right", ExpandSelectedEntry, None), - Binding::new("left", CollapseSelectedEntry, None), + Binding::new("right", ExpandSelectedEntry, Some("ProjectPanel")), + Binding::new("left", CollapseSelectedEntry, Some("ProjectPanel")), ]); }