I want to keep NERDTree always available at left (since vim starts).
NERDTree documentations has nothing relating to this and I don't think it has such inbuilt feature.
Well I tried setting by my own and did this:
autocmd VimEnter * NERDTree
But this seems buggy, the annoying things I found are:
- At startup the cursor is focused at NERDTree, it should be at editor window instead.
- When closing (with
:q
) the editor window closes, but the NERDTree is focused (I want to quit immediately, no wait!)
Do you have any better idea than this?