# vim: Fix \`ctrl-w ctrl-q\` and \`ctrl-w ctrl-c\` to close active pane instead of all panes \(\#24018\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3d3ac2c470db6c6c58353892577df32a6b4e21a3

Requested commit: 3d3ac2c470db6c6c58353892577df32a6b4e21a3

Commit: 3d3ac2c470db6c6c58353892577df32a6b4e21a3

Tree: c67efa8cc9df51ce2036e1c0c05040e2bf87d0e3

Author: Saurabh

Committer: GitHub

## Message

```
vim: Fix `ctrl-w ctrl-q` and `ctrl-w ctrl-c`  to close active pane instead of all panes (#24018)

According to vim `ctrl-w ctrl-q` should close the active tab or pane
similar to :q


![Screenshot_20250131_163139](https://github.com/user-attachments/assets/c6a0d3a0-8dcf-4152-b2bf-835472d4f870)

Release Notes:

- vim: fix `ctrl-w ctrl-q` to close active pane instead of all panes
```

## Parents

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

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