heavim/cfg/30-nerdtree-auto.vim

6 lines
204 B
VimL

" Open automatically NERDTree if there are more than 150 columns and no file was
" specified
autocmd VimEnter * if argc() == 0 && &columns > 150
\ | call dein#source("nerdtree")
\ | NERDTree
\ | endif