~ centyx /.vimrc

syntax on
set nocompatible       " Vim defaults
set background=dark
"set nu
set showcmd            " Show (partial) command in status line.
set showmatch          " Show matching brackets.
set incsearch          " Incremental search
set autowrite          " Automatically save before commands like :next and :make
highlight comment ctermfg=cyan

map Q gq
filetype plugin indent on

au FileType mail setlocal spell spelllang=en

if has("autocmd")
   autocmd BufReadPost *
       \ if line("'\"") > 0 && line("'\"") <= line("$") |
       \   exe "normal g`\"" |
       \ endif

endif " has("autocmd")