From e81af331a6eb1274c91df162bbb54202c9e7645b Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Thu, 8 Aug 2019 07:22:53 +0200 Subject: [PATCH] nerdTREE: open nerdTREE at startup Co-Authored-by: Igor Milhit --- init.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init.vim b/init.vim index 470d4fa..6947a11 100644 --- a/init.vim +++ b/init.vim @@ -104,6 +104,10 @@ let g:netrw_winsize = 20 " autocmd VimEnter * :Vexplore " augroup END +" NERDTree +autocmd StdinReadPre * let s:std_in=1 +autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif + " vim-json, don't conceal let g:vim_json_syntax_conceal = 0