Closed dylan-chong closed 6 years ago
I can repro, will try to fix. No need for minimal vimrc.
This looks like a special interaction between vim-session and Nerdtree. During the session load of Nerdtree, vim-session does some extra steps to restore Nerdtree, which in turn destroys the wintabs session. This wouldn't happen if you use :mksession
and :so
. So I'm afraid I can't fix this issue completely.
One way to mitigate the issue is that: when this happens, call :WintabsAllBuffers
. This should be able to restore your buffers from last session.
I'm closing this since it cannot be fixed. vim-session does a lot of extra stuff with nerdtree and disrupts normal wintabs buffer restore.
I don't have time to create a minimal vimrc file at the moment, I will try to get around to that sometime in the future (no guarantees when). But these are the replication steps: