commit 43dd5f2af1ca24d381552c5a452e34c8ed0cc33d parent 8f2a4934e0c7b06c1338529a77bfc36e0ed15ba6 Author: pyratebeard <root@pyratebeard.net> Date: Wed, 20 Sep 2017 13:31:49 +0100 autocmd lines for NERDTree Diffstat:
M | vim/.vimrc | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/vim/.vimrc b/vim/.vimrc @@ -257,4 +257,7 @@ if 1 " Boolean for plugin loading SyntasticCheck call lightline#update() endfunction + autocmd StdinReadPre * let s:std_in=1 + autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif + autocmd BufWinEnter * NERDTreeMirror endif