How can I save my vim split windows layout? -
i split window(about 10 lines, top of screen) when i'm writing something, in order reference other files easily.
i want save windows layout(just splitting layout without editing files), can start working quickly.
i tried put
set sessionoptions-=blank set sessionoptions-=tabpages set sessionoptions-=winsize
in .vimrc , then
:mksession file.vim
but when try vim -s file.vim
, can't see layout new windows, why?
thank you
try this:
:set sessionoptions=blank,winsize,tabpages,resize
when -=, removing options sessionoptions. assume want use += instead. default, sessionoptions set buffers,winsize,options,help,blank. using =, getting rid of options don't want.
Comments
Post a Comment