nerdtree
nerdtree copied to clipboard
Closing vim with Nerdtree
Hi I'm using ":bd" to close tabs/windows, it is important to me because when I'm closing the current single window and some other files left in the buffer then automatically switch mi to another, and doesn't close vim. I am struggling for few days with how to do it when the last window is the last open file and independent of that if Nerdtree is opened I would like to exit from vim. I will be grateful for yours help.
If you want to exit from Vim regardless, :qa should get you out.
In any case, this is also handled in the README in How can I close Vim of a tab automatically when NERDTree is the last window