Use cmd-b/cmd-r/cmd-j to toggle left/right/bottom dock and focus when opening
Also, bind the same keys with shift to toggle the dock without focusing. Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
7534c4e670
commit
50cfe5eec3
6 changed files with 89 additions and 22 deletions
|
@ -354,7 +354,7 @@ pub fn initialize_workspace(
|
|||
.map_or(false, |entry| entry.is_dir())
|
||||
})
|
||||
{
|
||||
workspace.toggle_dock(project_panel_position, cx);
|
||||
workspace.toggle_dock(project_panel_position, false, cx);
|
||||
}
|
||||
|
||||
workspace.add_panel(terminal_panel, cx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue