heavim/cfg/30-nerdtree-auto.vim

7 lines
204 B
VimL
Raw Permalink Normal View History

2023-06-18 11:50:16 +02:00
" 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