macvim-dev / macvim-dev/macvim
"Quit MacVim" ignores autowriteall
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 7.9k
- Forks
- 691
- PR merge metrics
- No merged PRs in 30d
Description
I use autowriteall to save all the files being closed without having to :write. In MacVim this works correctly with Cmd+W. I can Cmd+W all my open tabs and windows and it will save everything without asking for confirmation.
Unfortunately I cannot simply use Cmd+Q to get the same effect. Cmd+Q will always ask me about any unsaved changes. I would assume Cmd+Q would work like calling :confirm quitall in all MacVim windows.
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
The issue identifies MacVim's Cmd+Q quit path and contrasts it with Cmd+W behavior. Start by tracing the existing Cmd+Q handling and how Cmd+W honors autowriteall; reproduce with multiple unsaved tabs or windows and confirm Cmd+Q matches :confirm quitall without extra prompts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, vim
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100