Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Lock file with NERDTree #158

Open
dylan-chong opened this issue Feb 2, 2017 · 3 comments
Open

Lock file with NERDTree #158

dylan-chong opened this issue Feb 2, 2017 · 3 comments

Comments

@dylan-chong
Copy link

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.

@JESii
Copy link

JESii commented Feb 21, 2017

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>

@xahon
Copy link

xahon commented Mar 26, 2017

Cannot open session because of it. I have to make OpenSession! always

@ITler
Copy link

ITler commented Jun 14, 2017

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?

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

No branches or pull requests

4 participants