sponsor Vim development Vim logo Vim Book Ad

ConfirmQuit.vim : Provides a confirm dialog when you try to quit vim

 script karma  Rating 20/17, Downloaded by 1921  Comments, bugs, improvements  Vim wiki

created by
Leif Wickland
script type
A friend of mine was complaining that he closed vim unintentionally too often and wanted some sort of "Are you sure?" type of confirmation.  Thus, I wrote this plugin which will cause you to be prompted to confirm your desire to quit when you execute :q, :x, or :qw.

NOTE:  This plugin requires graphical vim.
install details
Stick confirmQuit.vim in your plugin directory.  See ":help plugin" in vim for more information.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
confirmQuit.vim 1.0 2004-08-26 6.0 Leif Wickland Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.