Closed daniel-vera-g closed 5 years ago
" Nerdtree TODO "On-demand loading Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } "Nerdtree git plugin Plug 'Xuyuanp/nerdtree-git-plugin' "Schortcut for NERDTree toggle map :NERDTreeToggle "Open nerd tree when opening folder autocmd StdinReadPre let s:std_in=1 autocmd VimEnter if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | endif
Implemented as it is
" Nerdtree TODO "On-demand loading Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } "Nerdtree git plugin Plug 'Xuyuanp/nerdtree-git-plugin' "Schortcut for NERDTree toggle map :NERDTreeToggle
"Open nerd tree when opening folder
autocmd StdinReadPre let s:std_in=1
autocmd VimEnter if argc() == 1 && isdirectory(argv()[0]) && !exists("s:std_in") | exe 'NERDTree' argv()[0] | wincmd p | ene | endif