mkview creates a script which calls doautoall SessionLoadPost without setting g:SessionLoad. When run with loadview, this can cause problems because we are loading and saving to a session at the same time.
Specifically, when running with a NERDTree window, I saw buffers being copied to that window, and some buffers disappearing from other windows.
I still need to check for g:SessionLoad, though, when loading a session with xolox/vim-session. Otherwise only one buffer per window gets loaded. Not sure why that is.
mkview
creates a script which callsdoautoall SessionLoadPost
without settingg:SessionLoad
. When run withloadview
, this can cause problems because we are loading and saving to a session at the same time.Specifically, when running with a NERDTree window, I saw buffers being copied to that window, and some buffers disappearing from other windows.
I still need to check for
g:SessionLoad
, though, when loading a session withxolox/vim-session
. Otherwise only one buffer per window gets loaded. Not sure why that is.Fixes #59