Always show NERDTree when enter vim

This commit is contained in:
Gea-Suan Lin
2012-06-18 04:36:09 +08:00
parent 884d27abf3
commit ba32a44635

2
.vimrc
View File

@@ -45,5 +45,5 @@ au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|
"
call pathogen#infect()
"
autocmd vimenter * if !argc() | NERDTree | endif
autocmd vimenter * NERDTree
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif