Add NERDTree as default function
This commit is contained in:
3
.vimrc
3
.vimrc
@@ -43,3 +43,6 @@ au BufNewFile,BufRead Makefile set noexpandtab
|
|||||||
au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif
|
au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif
|
||||||
"
|
"
|
||||||
call pathogen#infect()
|
call pathogen#infect()
|
||||||
|
"
|
||||||
|
autocmd vimenter * NERDTree
|
||||||
|
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
|
||||||
|
|||||||
Reference in New Issue
Block a user