source $VIMRUNTIME/indent.vim
behave mswin
set guifont=Monaco:h14
set ai
set nocp
set nocompatible
set nopaste
set pastetoggle=
set hls
set shiftwidth=4
set tabstop=4
set showmatch
set background=light
set display=lastline
colorscheme desert
syntax on
highlight Comment ctermfg=darkcyan
highlight Search term=reverse ctermbg=4 ctermfg=7
highlight Normal ctermbg=black ctermfg=white
filetype plugin on
filetype indent on
autocmd BufWritePre * :%s/\s\+$//e
autocmd BufRead *.py set smartindent cinwords=if,elif,else,for,while,try,except,finally,def,class
autocmd BufWritePre *.py normal m`:%s/\s\+$//e ``
autocmd BufEnter *.php :%s/[ \t\r]\+$//e
autocmd BufWritePre *.pl :%s/\s\+$//e
set fileencodings=utf8,big5,euc-jp,gbk,euc-kr,utf-bom,iso8859-1
set encoding=utf8
set tenc=utf8
set termencoding=utf-8
autocmd FileType python set expandtab
set ru
set sc
set smd
set nu
set ch=2
set nocompatible
set backspace=2

留言