filetype plugin indent on syntax enable colorscheme default set number set smartindent " completion set wildmode=list:longest " no bell set visualbell t_vb= " for UTF-8 set ambiwidth=double " show statusline always set laststatus=2 " show fenc, ff on statusline set statusline=%<%f\ %m%r%h%w%{'['.(&fenc!=''?&fenc:&enc).']['.&ff.']'}%=%l,%c%V%8P set showmatch set tabstop=2 set shiftwidth=2 set softtabstop=0 set expandtab set encoding=utf-8 set fileencodings=euc-jp,iso-2022-jp,cp932,utf-8 set fileformats=unix,dos,mac " search set ignorecase set smartcase set hlsearch let g:is_gauche = 1 " auto save set updatetime=50 autocmd CursorHold * call AutoUp() function! AutoUp() if expand('') != '' && !&readonly && &buftype == '' silent update endif endfunction set noswapfile set nobackup