Vim Tips Wiki
(Add ScriptComments macro)
 
(Bug report: closing windows and tabs)
Line 1: Line 1:
 
{{ScriptComments|ConfirmQuit.vim: Provides a confirm dialog when you try to quit vim}}
 
{{ScriptComments|ConfirmQuit.vim: Provides a confirm dialog when you try to quit vim}}
  +
  +
== Pops up when just quitting tabs and vim windows ==
  +
I think this is just supposed to appear before gvim tries to exit, but as it is now you get a dialog even if you're not closing the last window of the last tab. For instance, if you type :help and then :q, you'll get a confirmation dialog just for closing help.

Revision as of 03:00, 7 June 2012

Use this page to discuss script 1072 ConfirmQuit.vim: Provides a confirm dialog when you try to quit vim

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on vim.org).
  • This page may be out of date: check the script's vim.org page above, and its release notes.

Pops up when just quitting tabs and vim windows

I think this is just supposed to appear before gvim tries to exit, but as it is now you get a dialog even if you're not closing the last window of the last tab. For instance, if you type :help and then :q, you'll get a confirmation dialog just for closing help.