aboutsummaryrefslogtreecommitdiffstats
path: root/vim/.vimrc
blob: c0c3fec9c971cd69f8d94b3a8b741f4b99d5401d (plain)
1
2
3
4
5
6
7
8
9
10
execute pathogen#infect()

syntax on
filetype plugin indent on
set number
set background=dark

autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif