On Sun, 2006-04-16 at 09:08 +0100, Chris Allen wrote: > On 4/16/06, Steve Hall <[EMAIL PROTECTED]> wrote: > > > > I must be missing something, is there a command to put all buffers > > into their own tabs and at the same time remove them from the > > current window? (This is gVim 7.0d, using guitabline.) > > I'm not quite sure what you're asking, because the terminology is a > bit off. Remember that in Vim a 'window' is a view into a single > buffer -- you can never have more than one buffer in a single > window.
Sorry, I meant "tab" there at the end. I occasionally drop back to the habit of the traditional meaning rather than Vim's. :) > Regardless of what you mean, though, I think you'll find > that one of these does what you want: > > :tab all > :tab ball Ah, the second one is is what I needed, I knew I was missing something. [snip] > > All edits, save state, marks, etc. should be preserved. > > You could use 'set hidden' to make that the case, or you can use the > commands I've suggested above. I would recommend using 'hidden', as > well, since it is a very handy setting. Indeed, I do. > If you're working with session files you may wish to ensure that > 'sessionoptions' includes 'tabpages' -- this will save any tabbed > layouts when you use :mks (and is the default). This must be new since 7.0d, I get an E474 for that and it's not in at :help 'sessionoptions. Thanks much for the help. -- Steve Hall [ digitect mindspring com ]
