Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use custom variable to track session loading state #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tmandry
Copy link

@tmandry tmandry commented Feb 17, 2020

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.

Fixes #59

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

:mkview followed by :loadview makes a buffer tab disappear
1 participant