butane.vim
butane.vim copied to clipboard
When accidently using Bclose in while nerdtree buffer, things go very wrong.
When using Bclose while nerdtree buffer is active, then it closes the nerdtree but keeps that buffer in its size. When opening a new nerdtree, the new nerdtree takes 50% of vim.
Is there a way to check wheather the current buffer is not an instance of nerdtree and only then run butane?