Default to window 1

This commit is contained in:
Gea-Suan Lin
2012-06-19 12:34:31 +08:00
parent ba32a44635
commit 00b9c1ef74

2
.vimrc
View File

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