3 ms·
You get a prompt if you try to exit and you haven't written the buffer to file
by icc97 9y ago
You get a prompt if you try to exit and you haven't written the buffer to file
- khedoros1 9y agoIt does print a message, but doesn't prompt you for a response. I think that's the distinction that was being made.
- kevhito 9y agoNot in (my) vim you don't. You get: > E37: No write since last change (add ! to override)
- sirfz 9y agoActually you get a prompt when you try to save a file that has been modified in a different session or when you switch to a similarly modified buffer. But those are pretty reasonable and don't happen that often.