Well, assuming you don't mean the "-p" startup option, you could "hide" the buffers prior to :tabnew bufname , which avoids saving/re-opening a file.
As for using the tab line as a "menu" of loaded buffers, this is why I had each tab label of the non-GUI tabline list all buffers in that tab, in "TabLineSet.vim". I didn't add the GUI tab line function since I liked the syntax highlighting of the non-GUI tab line, but it would be simple enough to change the GUI tab line version to do the same. Since the doc.s say that sessionoptions doesn't handle multiple tabs yet, I don't see a way around adding your own loop to open new tabs after restoring a session. On 4/15/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.) > > Using :set sessionoptions+=buffers starts a session with multiple > buffers in one window. The best I can do is to hack a loop closing and > then :tabedit each. But this has the horrid result of Vim having to > save, close, and re-open each file--when all the user wanted to do is > "menu" the existing buffers across the tab bar. All edits, save state, > marks, etc. should be preserved. > > > -- > Steve Hall [ digitect mindspring com ] > > >
