[vim] .vimrcサンプル

 私がよく使う設定です。自分用のメモもかねて投稿しておきますw

$ cat ~/.vimrc

set encoding=utf-8
set fileencodings=utf-8,iso-2022-jp,euc-jp,sjis
set tabstop=4
set autoindent

augroup filetypedetect
au! BufRead,BufNewFile *.ctp setfiletype php
augroup END
Page 1 of 212»