Can't close unsaved editor with `<c-w>c`
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
When I press <c-w>c on a a unsaved editor, nothing happens.

But when I press <c-w>c on a saved editor, it closes as spected.

To Reproduce
Steps to reproduce the behavior:
- Create or change a file and don't save the changes
- Press
<c-w>c - Nothing should happen
Expected behavior
Show the regular close unsaved editor popup:

Or maybe this is the expected behaviour, since there is also ZQ for closing without saving.
Environment (please complete the following information):
- Extension (VsCodeVim) version: v1.24.3
- VSCode version: 1.73.1
- OS: Kubuntu 20.04 LTS
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in VSCode with VSCodeVim v1.24.3 on the described unsaved and saved editors, using c. Trace the extension's handling of that key sequence and compare it with the regular unsaved-editor close prompt. Done means the expected prompt appears consistently, or the issue's alternative behavior is documented and confirmed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- desktop, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100