半分以上何やってるか分からない。
augroup vimrc autocmd! augroup END filetype plugin indent on syntax on set fileencodings=ucs-bom,iso-2022-jp-3,iso-2022-jp,eucjp-ms,euc-jisx0213,euc-jp,cp932,sjis,utf-8 let mapleader = "\<C-L>" let maplocalleader = "\<C-K>" set autoindent modeline number incsearch noshowmatch nowrapscan set list listchars=tab:>\ ,eol:\ ,nbsp:\ set titlestring=%f\ -\ VIM set laststatus=2 statusline=%f\ %h%r%w%=%-12(%l,%v%)%p%% set cinoptions=l1 set notimeout ttimeout timeoutlen=5000 set nowritebackup nobackup updatetime=1500 updatecount=0 autowriteall set tags=.tags; set clipboard=unnamed " no beep set visualbell " バッファ切り替えてもundoが効くように set undolevels=5000 hidden let loaded_matchparen = 1 augroup vimrc autocmd FocusLost * let @+ = @* autocmd BufLeave * silent call s:AutoUpdate() autocmd CursorHold * silent call s:AutoUpdate() autocmd CursorHoldI * silent call s:AutoUpdate() autocmd BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") | execute "normal g`\"" | endif augroup END function! s:AutoUpdate() if expand('%') != '' && !&readonly && &buftype == '' | silent update | endif endfunction command! -nargs=* Ant compiler ant | make <args> command! -nargs=* ANt compiler ant | make <args> command! -nargs=* ANT compiler ant | make <args> hi Pmenu ctermbg=LightGrey guibg=LightGrey hi PmenuSel ctermbg=LightGrey guibg=LightGrey term=bold cterm=bold gui=bold