varnie varnie - 5 months ago 52
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