mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-09 11:53:48 -05: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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user