If I have changed a bunch of files but without saving and maybe I have another pile of noname buffers which are changed and without a file name.
I want vim to prompt confirmation for each one of the above files. if it's a changed file without saving then ask me whether to save it. if it's a noname buffer asking me whether to save it, if yes then provide a file name.
It's just like in some other modeless editor, when you edit a lot of files and click the close button to close the editor, it'll prompt confirmations.
:q
, Vim does warn about unsaved buffers.set confirm
might be close to what you're asking for