On 8/30/06, A.J.Mechelynck <[EMAIL PROTECTED]> wrote:
A session is not only a number of settings, it's also one or more
editfiles etc. To make a session forget all that makes it a session, use
:qa
followed by
vim
or
gvim
(the latter may be entered in an Alt-F2 popup). Once you are satisfied
that you have what you want, use the ":mksession" command (q.v.). Or, if
you have a GNOME build of gvim, you can log out of the (kde or GNOME)
window manager and let gvim save its session transparently.
See
:help :mksession
:help :mkview
:help -o
:help -S
:help gnome-session
If the above (starting a new session afresh) is too drastic for you, you
may _first_ use :mksession, then edit the session file (e.g. by removing
the settings you don't want anymore) and finally :qa and gvim -S
Best regards,
Tony.
Hi Tony,
Thank for your suggestions. These were the sort of solutions I had in
mind, I was just hoping there might be something simpler. It just
means, for each session I have to reopen every window the way it was,
and then save the session again, which is what I was trying to avoid.
But if there is no other way.
Thanks
Marius