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).
Best regards,
Tony.