# Make CloseAll keybindings more closely match VS Code \(\#28060\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/393d6560a3d30ef5c32183e3fe4969ef3a564e82)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 393d6560a3d30ef5c32183e3fe4969ef3a564e82

Requested commit: 393d6560a3d30ef5c32183e3fe4969ef3a564e82

Commit: 393d6560a3d30ef5c32183e3fe4969ef3a564e82

Tree: 8c75a1b00c38602ea212dc6d518fb983ec892112

Author: Peter Tripp

Committer: GitHub

## Message

```
Make CloseAll keybindings more closely match VS Code (#28060)

Changes default keymaps to more closely match the behavior of VSCode.

New Zed behavior:
`cmd-k w` / `ctrl-k w` -- Closes all buffers in the current pane
`cmd-k cmd-w` / `ctrl-k ctrl-w` -- Closes all buffers in all panes

VScode:
`cmd-k cmd-w` is workbench.action.closeAllEditors (close all buffers in
all splits)
`cmd-k w` is workbench.action.closeEditorsInGroup (close all buffers in
current split)

Both leave pinned tabs untouched.

Release Notes:

- Improved keybindings for close all tabs to better match VSCode
behavior
```

## Parents

- [3d48efad6756313a19fab69c3c561337e0fa32a5](https://git.cafe/gitcafe/zed/commit/3d48efad6756313a19fab69c3c561337e0fa32a5?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/393d6560a3d30ef5c32183e3fe4969ef3a564e82?format=markdown)
