nerdtree icon indicating copy to clipboard operation
nerdtree copied to clipboard

Closing vim with Nerdtree

Open wojciechGaudnik opened this issue 4 years ago • 1 comments

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.

wojciechGaudnik avatar Oct 19 '21 19:10 wojciechGaudnik

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

igbanam avatar Dec 06 '21 14:12 igbanam