mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-23 07:41:03 +08:00
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:
parent
4accc8a79c
commit
23e79de2c2
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user