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?"
Thank you.
--
--
You received this m
On 2015-12-05, wolfv 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
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 wrote:
> On 2015-12-05, wolfv wrote:
> > Sometimes I unintentionally close Vim with many buf
> Then I have to reopen Vim and reopen all the buffers I was working on.
Check out :help views-sessions
There are some session manager plugins around on vim.org that do exactly what
you want. I personally prefer the "most recently used files" though -- like
(shameless plug) tmru_vim.
HTH
--
On Saturday, December 5, 2015 at 1:18:02 PM UTC-6, wolfv 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 yo
On Sunday, December 6, 2015 at 10:37:14 PM UTC-7, Ben Fritz wrote:
> On Saturday, December 5, 2015 at 1:18:02 PM UTC-6, wolfv 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 pre
Hi wolfv!
On So, 06 Dez 2015, wolfv wrote:
> I usually work with one primary Vim open with multiple files in the
> buffers list. Sometimes I will also temporarily open a few text files
> from the file manager, each file opened in its own Vim. Then I quickly
> close all the temporary Vims by click
On Mon, Dec 7, 2015 at 10:11 AM, Christian Brabandt wrote:
> Hi wolfv!
>
> On So, 06 Dez 2015, wolfv wrote:
>
>> I usually work with one primary Vim open with multiple files in the
>> buffers list. Sometimes I will also temporarily open a few text files
>> from the file manager, each file opened i
On Mon, Dec 7, 2015 at 10:11 AM, Christian Brabandt
wrote:
> Just always keep a modified buffer around. This can possibly
> be a hidden scratch buffer, whose sole purpose is to prevent a
> quick exit.
I wondered whether some kind of autocmd would help here. I
don't have time to check into it suf