Fix ctrl/cmd-w closing the project panel instead of the active pane (#64515)

Closes https://github.com/zed-industries/zed/issues/34865
Closes https://github.com/zed-industries/zed/discussions/41122

Follows an Intellij Idea approach, where these bindings are separate.

Release Notes:

- Fixed `ctrl/cmd-w` closing the project panel instead of the active
pane. BREAKING: closing the active dock moved from `cmd/ctrl-w` to
`ctrl-alt-w`
This commit is contained in:
Kirill Bulatov authored and GitHub committed 2026-09-21 13:53:43 +00:00
1 parent 3a7b16da5d
commit d1f71d8cd0
3 files changed
+8 -5

No files matched your search

+3 -2
View File
@@ -737,8 +737,9 @@
// or by tag:
// "foo-bar": ["task::Spawn", { "task_tag": "MyTag" }],
"f5": "debugger::Rerun",
"ctrl-f4": "workspace::CloseActiveDock",
"ctrl-w": "workspace::CloseActiveDock",
"ctrl-f4": ["pane::CloseActiveItem", { "close_pinned": false }],
"ctrl-w": ["pane::CloseActiveItem", { "close_pinned": false }],
"ctrl-alt-w": "workspace::CloseActiveDock",
},
},
{
+2 -1
View File
@@ -777,7 +777,8 @@
"cmd-k shift-down": "workspace::SwapPaneDown",
"cmd-shift-x": "zed::Extensions",
"f5": "debugger::Rerun",
"cmd-w": "workspace::CloseActiveDock",
"cmd-w": ["pane::CloseActiveItem", { "close_pinned": false }],
"ctrl-alt-w": "workspace::CloseActiveDock",
},
},
{
+3 -2
View File
@@ -725,8 +725,9 @@
// or by tag:
// "foo-bar": ["task::Spawn", { "task_tag": "MyTag" }],
"f5": "debugger::Rerun",
"ctrl-f4": "workspace::CloseActiveDock",
"ctrl-w": "workspace::CloseActiveDock",
"ctrl-f4": ["pane::CloseActiveItem", { "close_pinned": false }],
"ctrl-w": ["pane::CloseActiveItem", { "close_pinned": false }],
"ctrl-alt-w": "workspace::CloseActiveDock",
},
},
{