I have the following in my .vimrc:
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Open NERDTree by default """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" autocmd VimEnter * NERDTree autocmd VimEnter * wincmd p
So,
% vim file.txt
opens NERDTree and focuses the cursor in the file.txt buffer. I make my changes and hit: q into the buffer and I stayed., NERDTree. This is annoying.
I could use: qa to close all buffers and exit vim, but I'm used to: q trope. Therefore, I wonder if there is a way to detect that the only remaining buffer is NERDTree and to βunifyβ two buffers for purposes: q
Edit
Ask and you will receive: https://github.com/scrooloose/nerdtree/issues#issue/21
vim nerdtree
g33kz0r Jan 14 '10 at 18:37 2010-01-14 18:37
source share