Hi Random832, All the buffers are all written. Maybe "open" was not the right word. I use the buffer list as a conveniently access the files I am working on.
On Sat, Dec 5, 2015 at 12:59 PM, Random832 <[email protected]> wrote: > On 2015-12-05, wolfv <[email protected]> wrote: > > Sometimes I unintentionally close Vim with many buffers open. > > Then I have to reopen Vim and reopen all the buffers I was working on. > > Is there a way to prevent this, like a plugin that prompts "Multiple > > buffers are open, are you sure you want to close them?" > > How exactly do you create a session that fails to do this? I'm > not exactly familiar with all the ways to work with hidden > buffers, but I do know that in the most common case (multiple > files passed in on the command line), you get E173 if you try to > quit before editing all of them, and E162 if 'hidden' was > enabled and any of the others were unwritten. > > Do you want it to refuse to quit even if the buffers aren't > unwritten? Do you want it to prompt even if you've typed "qa!"? > > -- > -- > You received this message from the "vim_use" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > > --- > You received this message because you are subscribed to a topic in the > Google Groups "vim_use" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/vim_use/HCNPrkw9Wg8/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- It's bad luck to be superstitious. Wolfram Volpi telephone: 575-323-1432 e-mail: [email protected] -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
