diff options
Diffstat (limited to 'vimrc')
| -rw-r--r-- | vimrc | 15 |
1 files changed, 15 insertions, 0 deletions
| @@ -0,0 +1,15 @@ | |||
| 1 | execute pathogen#infect() | ||
| 2 | |||
| 3 | syntax on | ||
| 4 | filetype plugin indent on | ||
| 5 | |||
| 6 | set number | ||
| 7 | set background=dark | ||
| 8 | set hlsearch | ||
| 9 | set listchars=trail:·,tab:▸\ ,eol:¬ | ||
| 10 | set list | ||
| 11 | set foldmethod=indent | ||
| 12 | |||
| 13 | autocmd StdinReadPre * let s:std_in=1 | ||
| 14 | autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif | ||
| 15 | autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif | ||
