" Sean Reifschneider's vimrc file (by popular demand)
set autoindent
set backspace=1
set timeoutlen=3000
set ttimeoutlen=50
set wildmenu
set wildmode=longest:full
set scrolloff=1
set noruler
set exrc
set spelllang=en_us
set spellfile=/home/jafo/vim/spell/generic.en.add
set synmaxcol=600
highlight SpellBad ctermfg=NONE ctermbg=NONE cterm=underline,bold
highlight SpellCap ctermfg=NONE ctermbg=NONE cterm=underline,bold
highlight SpellLocal ctermfg=NONE ctermbg=NONE cterm=underline,bold
highlight MatchParen cterm=bold ctermfg=NONE ctermbg=NONE
set t_ti= t_te= " Do not change to alternate xterm screen
set ignorecase smartcase
set smarttab tabstop=8 shiftwidth=3 expandtab list textwidth=75
set listchars=tab:>-,trail:-
if !has("compatible")
set foldmethod=marker
filetype plugin indent on
set cinoptions=}1s
autocmd FileType c set tabstop=3 shiftwidth=3 softtabstop=0 smarttab noexpandtab nolist textwidth=0
autocmd FileType cpp set tabstop=3 shiftwidth=3 softtabstop=0 smarttab noexpandtab nolist textwidth=0
autocmd FileType java set tabstop=3 shiftwidth=3 softtabstop=0 smarttab noexpandtab nolist textwidth=0
autocmd FileType python set tabstop=3 shiftwidth=3 softtabstop=0 smarttab noexpandtab nolist textwidth=0
autocmd FileType php set tabstop=3 shiftwidth=3 softtabstop=0 smarttab noexpandtab nolist textwidth=0
autocmd FileType sh set tabstop=3 shiftwidth=3 softtabstop=0 smarttab noexpandtab nolist textwidth=0
autocmd FileType make set tabstop=3 shiftwidth=3 softtabstop=0 smarttab noexpandtab nolist textwidth=0
autocmd BufRead,BufNewFile /tmp/mutt-* source $HOME/.vimrc-mutt
autocmd FileType dns set textwidth=0 nolist
autocmd FileType dns map S :python updateDnsSerial()^M
autocmd BufNewFile *.py 0r ~/vim/skeleton.py
" Python stuff
pyfile ~/vim/vim.py
map ( :python pythonblockStart()^M
map ) :python pythonblockEnd()^M
map C :set cursorcolumn! cursorline!^M
" Set indentation automatically
autocmd BufRead * python setIndentation()
endif
set background=dark
highlight PreProc ctermfg=5 cterm=bold "cyan
highlight Comment ctermfg=9 "bright red
highlight String ctermfg=7 "dark white
highlight Normal guibg=Black guifg=White