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
NERDTree conflicts with vim command bd #400
Comments
May I ask why this got closed? I have the same issue. When I have NERDTree opened, and issue :bd in another window, bd will close all buffers instead of just one, and vim will exit because I have chosen so (to quit vim if NERDTree is only window left). Edit: bd seems to not delete all buffers, but instead deleting current buffer and closing the window viewing it, so then the only window left is NERDTree. So vim quits. |
👍 please fix! |
same problem, can anyone to fix? |
@bleached @darrynten I have the same problem, and i find a solution on StackOverflow http://stackoverflow.com/questions/1864394/vim-and-nerd-tree-closing-a-buffer-properly |
@chaos-dd why did you close the issue? Did you find any fix? If yes, then please share. I'm also having the same problem. |
@ecthiender you can have a try the answer I found on StackOverflow. I used long times and it works as expected. |
ran into same issue, fixed with Treri's link. |
After long experiment and search ,finally find this post. For later comers, you can use this mapping in your vim/Nvim config:
Simple, but it works well. |
Easy and simple fixed with: |
Sorry, I did not see your comment. |
why doesn't this works for me? |
I'm also having trouble getting the above solution to work |
Recently I seem to find a bug of NERDTree.
Here is steps to regenerate the bug.
Open Vim, toggle NERDTree , open more than two file through NERDTree, and than try to close one of the opened file using command bd, the vim exits ! Not only close an opened file.
The text was updated successfully, but these errors were encountered: