Hot answers tagged

3

Is this possible using QuitPre? "Quit" means quitting a buffer as in :quit. You probably want ExitPre instead. can I implement such functionality using Vimscript? No, AFAIK, the action cannot be aborted by autocmd. Based on the user's response, Vim should either quit, or cancel the quit Simply :set confirm and no worries.


Only top voted, non community-wiki answers of a minimum length are eligible