" Configuration file for vim editor
" Disable the damn bell!
set vb t_vb="
set noerrorbells

" options are dark or light 
set background=dark

" Nice stuff you probably don't want to change
set nocompatible
"set backspace=2
set backspace=indent,eol,start 
set ruler
syntax on 
set showcmd
set showmatch
set showmode
set esckeys

" Disable Wordwrap
set nowrap 

" Enable nice horizontal scroll to navigate nowrap better
set sidescroll=3

" Don't keep a backup file
set nobackup
set nowritebackup

" Don't create a swap file
set noswapfile

" Do not save history
set viminfo=

" Number of lines in history to keep
set history=100

" Enable Spell checking
set spelllang=en
"set spell

" Detect file types
if has("autocmd")
  filetype plugin on
endif " has ("autocmd")

" Don't tab complete these files, as they are not normaly wanted
set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc

" Should it auto-save under certain situations, such as :n commands?
"set autowrite

" SWEET Colors
highlight Normal     ctermfg=LightGrey  ctermbg=Black
highlight Search     ctermfg=Black      cterm=none
highlight Visual                        cterm=reverse
highlight Cursor     ctermfg=Black      cterm=bold
highlight Special    ctermfg=Brown
highlight Comment    ctermfg=DarkGrey
highlight StatusLine ctermfg=Blue
highlight Statement  ctermfg=Yellow     cterm=bold
highlight Type                          cterm=none
highlight Identifier ctermfg=Green      cterm=none
highlight PreProc    ctermfg=Blue       cterm=bold
highlight Error      ctermfg=Red
highlight Todo       ctermfg=Black      ctermbg=Red
highlight Directory  ctermfg=DarkGreen
highlight Operator   ctermfg=LightGreen cterm=bold
