summaryrefslogtreecommitdiffstats
path: root/.vimrc
blob: a87b1410ce5d4a61da52cb919c5419e7d114bfaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
" bnewbold's .vimrc
" circa 04/2006

if has('syntax') && (&t_Co > 2)
    syntax on
endif

set history=50
set wildmode=list:longest,full
set showmode
set showcmd
set smartcase
set shiftwidth=4
set tabstop=4
set shiftround
set expandtab
set autoindent

autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class

" for Project Fortress
au BufNewFile,BufRead *.fsi,*.fss set ft=fortress