varnie varnie - 4 months ago 28
Linux Question

Auto-open NERDTree in vim

Does someone know how to force .vimrc to auto-open NERDTree each time vim is invoked? The operation system is *nix.

Answer
 au VimEnter *  NERDTree

in your vimrc should do it

:he autocmd.txt for background

Comments