-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Description
Summary
Ctrl+Shift+E doesn't toggle focus on Project Panel.
Description
This happens when you are not in the usual Editor Panel. and you try to navigate the sidebar, switching from Outline Panel or from Git Panel to Project Panel.
Indeed, if you switch to Outline Panel the focus is on the Filter input or if you switch to Git Panel the focus is on the commit area, Ctrl+Shift+E fires editor::ToggleEditorPrediction and not project_panel::ToggleFocus, due to the precedence of the context.
Steps to reproduce:
- Click on Project Panel icon of the sidebar
Ctrl+Shift+GorCtrl+Shift+Btoggling focus to Git Panel or Outline PanelCtrl+Shift+Eis a no-operation and it doesn't toggle focus to the Project Panel
Expected Behavior:
Toggling focus on the Project Panel.
Actual Behavior:
It doesn't toggle focus on the Project Panel
Solution
Add to the keymap.json (using VSCode base keymap)
{
"context": "Editor && mode != full",
"bindings": {
"ctrl-shift-e": "project_panel::ToggleFocus"
}
}Zed Version and System Specs
Zed: v0.213.3 (Zed)
OS: Windows 10.0.26200
Memory: 15.8 GiB
Architecture: x86_64
GPU: Intel(R) UHD Graphics 620 || Intel Corporation || 31.0.101.2135
If applicable, attach your Zed.log file to this issue.
Zed.log