23

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

Community
  • 1
  • 1
rubiii
  • 6,903
  • 2
  • 38
  • 51

1 Answers1

42

Yes. Just write this line to your .vimrc :

autocmd VimEnter * NERDTree
Tympanix
  • 113
  • 1
  • 2
  • 9
Benoit
  • 76,634
  • 23
  • 210
  • 236