Re: clone a vim session into a new tab

2007-03-14 Thread Bram Moolenaar
Andy Wokula wrote: Ok tabpages are included in the session per default. Try :set sessionoptions-=tabpages first. Awesome! Thanks a lot! :help 'sessionoptions' The help is a bit confusing. It says There is no option to include tab pages yet, only the current

Re: clone a vim session into a new tab

2007-03-13 Thread Andy Wokula
Kamaraju S Kusumanchi schrieb: Let's say I opened a 6 files in a 3X2 grid inside vim. Now I want to clone this and have all the files at the same position, same window sizes etc., and put it into a new tab under the same vim session. Is there a command to do this? commands like tabe etc., open

Re: clone a vim session into a new tab

2007-03-13 Thread Kamaraju S Kusumanchi
Andy Wokula wrote: Simple way (recommended or not, at least quick) with sessions: :mks use ! to overwrite existing Session.vim :tabnew :so Session.vim Just guessed it might work and it works. Now I think sessions don't include tabpages. This works although I use tabe instead of

Re: clone a vim session into a new tab

2007-03-13 Thread Andy Wokula
Kamaraju S Kusumanchi schrieb: Andy Wokula wrote: Simple way (recommended or not, at least quick) with sessions: :mks use ! to overwrite existing Session.vim :tabnew :so Session.vim Just guessed it might work and it works. Now I think sessions don't include tabpages. This works although I

Re: clone a vim session into a new tab

2007-03-13 Thread Kamaraju S Kusumanchi
Andy Wokula wrote: Ok tabpages are included in the session per default. Try :set sessionoptions-=tabpages first. Awesome! Thanks a lot! :help 'sessionoptions' The help is a bit confusing. It says There is no option to include tab pages yet, only the current tab page

Re: clone a vim session into a new tab

2007-03-13 Thread Andy Wokula
Kamaraju S Kusumanchi schrieb: Andy Wokula wrote: Ok tabpages are included in the session per default. Try :set sessionoptions-=tabpages first. Awesome! Thanks a lot! :help 'sessionoptions' The help is a bit confusing. It says There is no option to include tab pages yet, only