Open dylan-chong opened 7 years ago
What's happening, I think, is that since vim isn't completely closed, then you are still on that Session. :qa
shuts everything down -- including the NERDTree window -- and closes vim, including implicitly closing the session. That's why it works.
When I want to close a session, I either do :qa
or :CloseSession
:OpenSession <new-session>
Cannot open session because of it. I have to make OpenSession!
always
I've tried to workaround this playing around with variables provided by this plugin. However my attempts were not successful. Do you see a chance to enhance the plugin to resolve this?
If you have two buffers open (nerdtree and some other buffer) and quit from the 'other' buffer with
:q
, then the lock file is not deleted, but if you quit with:qa
then the lock file is deleted.