自分のためにアップしておく。
colorscheme desert set nocompatible set autoindent set smartindent set ignorecase set showmatch set wildmenu set wildmode=list:longest set encoding=japan set fileencodings=utf-8,iso-2022-jp,cp932,euc-jp set termencoding=utf-8 set fileencoding=utf-8 set encoding=utf-8 syntax on filetype on filetype indent on filetype plugin on set number set laststatus=2 set statusline=%<%f\ %m%r%h%w%y%{'['.(&fenc!=''?&fenc:&enc).']['.&ff.']'}%=%4v\ %l/%L set expandtab set tabstop=4 set shiftwidth=4 nnoremap j gj nnoremap k gk nmap <silent> <C-n> :noh<CR> autocmd FileType php :set ts=2 sw=2 expandtab autocmd FileType ruby :set ts=2 sw=2 expandtab