On 2013-02-05 Tuesday at 18:51 +0100 Bram Moolenaar wrote: > > Roland Eggner wrote: > > > Session script written by :mksession modifies options splitbelow splitright > > and > > does not restore original settings. > > > > > > > > How to reproduce > > ---------------- > > > > printf '%s\n' 'first line' 'second line' > example.txt > > LC_ALL=C vim -u NONE + -c 'mksession MySession.vim|q' example.txt > > LC_ALL=C vim -u NONE -c 'set splitbelow splitright|so MySession.vim' > > When you create the session file the options are off, thus when you load > the session they are also off. That is expected.
Oh indeed … feature and not bug. Sorry for the noise. > > You could remove the "options" item from 'sessionoptions', if you like. … I did, and forgot that this does not affect already written session files. Thank you for explanation. -- Roland Eggner
pgpUoyqrqNeu0.pgp
Description: PGP signature
