make the hijacknetrw functionality work when vim starts up

now we can go   vim  <some dir>   and it loads up a nerd tree instead of
a netrw
This commit is contained in:
Martin Grenfell 2009-01-23 21:27:53 +13:00
parent 4accc8a79c
commit 23e79de2c2

View File

@ -167,7 +167,7 @@ augroup END
if g:NERDTreeHijackNetrw
augroup NERDTreeHijackNetrw
autocmd VimEnter * silent! autocmd! FileExplorer
au BufEnter * call s:checkForBrowse(expand("<amatch>"))
au BufEnter,VimEnter * call s:checkForBrowse(expand("<amatch>"))
augroup END
endif