Hi, No, I dont want other command sequences. I know those. I simply want a ":q" which stops when it would exit vim.
Hari Krishna Dara <[email protected]> [09-09-05 00:35]: > > On Fri, Sep 4, 2009 at 12:27 PM, Derek Wyatt<[email protected]> wrote: > > Or does he want :%bd! > > > > I'm not quite sure :) > > Entered using opposable digits on my BlackBerry. > > I think he wants a way to get rid off all buffers without having to > restart? May be ":silent! bufdo bw" (untested) will do the trick. It > will leave any unmodified buffers in tact and wipeout the rest. If it > works, create a user command or menu item for it. > -- > HTH, > Hari > > > > > -----Original Message----- > > From: [email protected] > > > > Date: Fri, 4 Sep 2009 19:27:10 > > To: [email protected]<[email protected]> > > Subject: Re: quitstop > > > > > > :qa > > Sent via BlackBerry from T-Mobile > > > > -----Original Message----- > > From: [email protected] > > > > Date: Fri, 4 Sep 2009 21:20:33 > > To: <[email protected]> > > Subject: quitstop > > > > > > > > > > Hi, > > > > I am wondering whether it is possible to do the following: > > Under normal circumstances, one can do a > > :q > > (all buffers unmodified) or > > :wq > > or > > :q! > > until all buffers are quit. > > The quit on the last buffer will end vim. > > Often, when loaded a lot of files to change a certain aspect > > of the software I want to get rid of all that files to start > > a new experience :) > > But I dont want to restart vim. > > Is it possible to stop quit when trying to quit vim instead of > > simply closing a buffer? > > If I want to quit vim, I want to say > > :exit > > for example, which in turn should not kill any modified buffer. > > > > Thank you very much for any help in advance! > > Have a nice weekend! > > mcc > > > > > > > > > > > > -- > > Please don't send me any Word- or Powerpoint-Attachments > > unless it's absolutely neccessary. - Send simply Text. > > See http://www.gnu.org/philosophy/no-word-attachments.html > > In a world without fences and walls nobody needs gates and windows. > > > > > > > > > > > > > > > > > > > -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
