On Saturday 21 October 2006 01:14, A.J.Mechelynck wrote: > Kamaraju Kusumanchi wrote: > > Using Debian Etch and > > > > $vim --version > > VIM - Vi IMproved 7.0 (2006 May 7, compiled Oct 10 2006 00:14:41) > > Included patches: 1-122 > > > > When I do mksession and load the session with gvim -S, the window sizes > > in both the cases is not the same. Is there any way restore the window > > size as well? > > > > I do not want to use something like > > set lines=50 columns=80 > > > > since different sessions could have different sizes etc., > > > > Any other ideas? > > > > thanks > > raju > > If you're using the same 'guifont' or the same console terminal, I don't > see why you wouldn't be reusing the same 'lines' and 'columns' settings. > > Anyway, check your 'sessionoptions' and in particular the "winsize" > suboption (which is part of the defaults and concerns the split-window > sizes, unlike "resize" which concerns the global size of the Vim screen). > >
Thanks very much. :h sessionoptions helped a lot. raju -- Kamaraju S Kusumanchi http://www.people.cornell.edu/pages/kk288/ http://malayamaarutham.blogspot.com/