macvim-dev / macvim-dev/macvim

"Quit MacVim" ignores autowriteall

Open
#521 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.