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.

You could remove the "options" item from 'sessionoptions', if you like.

-- 
ROBIN:  The what?
ARTHUR: The Holy Hand Grenade of Antioch.  'Tis one of the sacred relics
        Brother Maynard always carries with him.
ALL:    Yes. Of course.
ARTHUR: (shouting) Bring up the Holy Hand Grenade!
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui