Index: /dotfiles/vim/shoma-vimrc
===================================================================
--- /dotfiles/vim/shoma-vimrc (revision 7402)
+++ /dotfiles/vim/shoma-vimrc (revision 7402)
@@ -0,0 +1,74 @@
+" $Id$
+autocmd!
+
+set nocompatible
+set autoindent
+set autoread
+set hidden
+set isfname-==
+set number
+set expandtab
+set tabstop=4
+set shiftwidth=4
+set showmatch
+set showmode
+set showcmd
+set syntax=on
+set ruler
+set history=1024
+set magic
+set encoding=utf-8
+set termencoding=utf-8
+set fileencoding=utf-8
+set fencs=utf-8,us-ascii,iso-2022-jp,sjis,euc-jp
+set fo+=m
+set tags=~/.tags
+set backupdir=~/tmp/vim
+set dir=~/tmp/vim
+set filetype=on
+filetype plugin on
+set dictionary+=/usr/share/dict/words
+set infercase
+set ignorecase
+set incsearch
+set hlsearch
+set wildmenu
+"set paste
+set laststatus=2
+set title
+set background=light
+"set background=light
+set complete=.,w,k
+set ruf=%45(%12f%=\ %m%{'['.(&fenc!=''?&fenc:&enc).']'}\ %l-%v\ %p%%\ [%02B]%)
+set statusline=%<%f\ %m%r%h%w%{'['.(&fenc!=''?&fenc:&enc).']['.&ff.']'}%=%l,%c%V%8P
+set t_Co=256
+set ambiwidth=double
+:highlight Normal ctermfg=white ctermbg=gray
+:colorscheme zellner
+:filetype on
+:syntax on
+:retab 
+if &term == "screen"
+   set ttymouse=xterm2
+endif
+let php_folding=1
+
+nmap <c-[>  :pop<CR>
+
+autocmd FileType c,cpp set cindent
+autocmd FileType c set formatoptions+=ro
+autocmd FileType perl,python,php,css set smartindent
+autocmd FileType php set dictionary+=~/share/dict/phpfuncs fdm=syntax
+autocmd FileType html set formatoptions+=tl
+autocmd FileType html,css set noexpandtab tabstop=2 sw=2
+autocmd FileType java :hi javaParen ctermfg=blue guifg=#0000ff 
+autocmd FileType java set fdm=marker fillchars=stl:_,stlnc:-,vert:\|,fold:\ ,diff:- ts=4 sw=4
+
+" check
+autocmd FileType php   :map <down> <esc>:!/usr/bin/env php -l %<cr>
+autocmd FileType perl  :map <down> <esc>:!/usr/bin/env perl -cw %<cr>
+
+" exec
+autocmd FileType php   :map <up>   <esc>:!/usr/bin/env php %<cr>
+autocmd FileType perl  :map <up>   <esc>:!/usr/bin/env perl %<cr>
+autocmd FileType python :map <up>  <esc>:!/usr/bin/env python %<cr>
