Nerdtree: Trying to close a file while NERDTree is open causes irresponsiveness

Created on 17 Nov 2016  路  1Comment  路  Source: preservim/nerdtree

Attempting to close a file while NERDTree is open causes iTerm2 to freeze

Most helpful comment

I took out from my .vimrc the line:
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
from #21 and does not freeze anymore.

>All comments

I took out from my .vimrc the line:
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
from #21 and does not freeze anymore.

Was this page helpful?
0 / 5 - 0 ratings