使用ソース
vim-6.3.tar.bz2

コンパイルとインストール
gui関連は外してます。
$ ./configure --enable-multibyte \
              --with-features=big \
              --enable-gui=no --without-x
$ make
$ make test
# make install

初期設定
# cd /usr/local/share/vim
# cp -p vim63/vimrc_example.vim vimrc
変更ファイル:
/usr/local/share/vim/vimrc
追加内容:
" 日本語を扱うために必要
set encoding=japan
" ファイルの漢字コード自動判別のために必要。(要iconv)
if has('iconv')
  set fileencodings&
  set fileencodings+=ucs-2le,ucs-2
  let s:enc_euc = 'euc-jp'
  let s:enc_jis = 'iso-2022-jp'
  " iconvがJISX0213に対応しているかをチェック
  if iconv("\x87\x64\x87\x6a", 'cp932', 'euc-jisx0213') ==# "\xad\xc5\xad\xcb"
    let s:enc_euc = 'euc-jisx0213,euc-jp'
    let s:enc_jis = 'iso-2022-jp-3'
  endif
  " fileencodingsを構築
  let &fileencodings = &fileencodings.','.s:enc_jis.',utf-8'
  if &encoding =~# '^euc-\%(jp\|jisx0213\)$'
    set fileencodings+=cp932
    let &encoding = s:enc_euc
  else
    let &fileencodings = &fileencodings.','.s:enc_euc
  endif
  " 定数を処分
  unlet s:enc_euc
  unlet s:enc_jis
endif
上記内容はKaoriYa.net版vimからの抜粋です。

公式:vim online
参照:KaoriYa.net