Re: How to save/restore buffer lists between vim sessions?

2009-09-24 Thread pansz
Matt Wozniski 写道: > In a new enough vim, you might be able to hack something together > using v:oldfiles. Or... well, this is even more of a hack, in my > opinion, but it works. If you have % in your viminfo option, you can > do 'vim a b c' and then :qa to get a b and c into your buffer list. >

Re: How to save/restore buffer lists between vim sessions?

2009-09-23 Thread Matt Wozniski
On Wed, Sep 23, 2009 at 3:38 AM, Christian Brabandt wrote: > > On Wed, September 23, 2009 8:20 am, pansz wrote: >> When you exit, and start vim without command-line arguments, the buffers >> are still there, use :ls list all buffers. >> >> When you start vim with a file name as argument, the buffe

Re: How to save/restore buffer lists between vim sessions?

2009-09-23 Thread Christian Brabandt
On Wed, September 23, 2009 8:20 am, pansz wrote: > When you exit, and start vim without command-line arguments, the buffers > are still there, use :ls list all buffers. > > When you start vim with a file name as argument, the buffers are > cleared, use :ls list only the opened file and my buffer l

Re: How to save/restore buffer lists between vim sessions?

2009-09-22 Thread Maxim Kim
Hi, On 23 сен, 10:20, pansz wrote: > In vim we can use :ls to list all buffers. You open 3 files, it all show > in buffers. > > When you exit, and start vim without command-line arguments, the buffers > are still there, use :ls list all buffers. I have no buffers. > When you start vim with a fi

How to save/restore buffer lists between vim sessions?

2009-09-22 Thread pansz
Hi all vimmers: In vim we can use :ls to list all buffers. You open 3 files, it all show in buffers. When you exit, and start vim without command-line arguments, the buffers are still there, use :ls list all buffers. When you start vim with a file name as argument, the buffers are cleared, u