How to start VIM with NERD tree opened automatically? [duplicate]

0 votes
asked Sep 24, 2010 by rubiii

Possible Duplicate:
Auto-open NERDTree in “EVERY” tab

Is there a way to automatically execute the :NERDTree command when VIM is launched for the first time or configure NERDTree to always open on startup?

PLEASE CLOSE. Just noticed that this question was answered before:
Auto-open NERDTree in "EVERY" tab

1 Answer

0 votes
answered Sep 24, 2010 by benoit

Yes. Just write this line to your .vimrc :

autocmd VimEnter * NERDTree
Welcome to Q&A, where you can ask questions and receive answers from other members of the community.
Website Online Counter

...