vimrcの設定

現在の設定値

"Color
syntax on

"Tab
set tabstop=2
set showmode
set autoindent
set nonumber
set showmatch

"Encoding
set encoding=utf-8
set fileencodings=iso-2022-jp,cp932,euc-jp,utf-8

メモ: syntax on

たいていはファイルタイプを認識してくれるけど、そうじゃないこともある。
例).cgiなど

そういう時は、

:set filetype=perl

などと指定すればOK