" Version = '20130630-210710' set expandtab "replace tab to space set tabstop=2 set shiftwidth=2 set softtabstop=2 "indent 2 characters "set autoindent set hlsearch set nocompatible "set spell "check english spells syntax on "colorscheme ir_black filetype on filetype indent on filetype plugin on if has("autocmd") au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$") \| exe "normal g'\"" | endif endif " show statusline set laststatus=2 " status infor set statusline=%n\:%y%F\ \|%{(&fenc!=''?&fenc:&enc).'\|'.&ff.'\|'}%m%r%=<%l/%L:%p%%> " status color highlight StatusLine term=NONE cterm=NONE ctermfg=black ctermbg=white set nowrap "" "" shotcuts "" "map , :w:! gcc % map , :w:! ruby -rpp % map . :w:! rspec "map , :w:! perl % " map . :w:! ruby % "map . :w:! ./a.out "map . :w:! Rscript % map :w map :x map :q! " spell checks map ]s map [s map z= map zg " autovim :let autodate_keyword_pre="Version = '" :let autodate_keyword_post="'" :let autodate_format="%Y%m%d-%H%M%S" "" "" Vim-LaTeX "" "filetype plugin on "filetype indent on set shellslash set grepprg=grep\ -nH\ $* let g:tex_flavor='latex' let g:Imap_UsePlaceHolders = 1 let g:Imap_DeleteEmptyPlaceHolders = 1 let g:Imap_StickyPlaceHolders = 0 let g:Tex_DefaultTargetFormat = 'pdf' let g:Tex_FormatDependency_ps = 'dvi,ps' let g:Tex_FormatDependency_pdf = 'dvi,pdf' let g:Tex_CompileRule_dvi = '/usr/texbin/platex -synctex=1 -interaction=nonstopmode $*' "let g:Tex_CompileRule_dvi = '/usr/texbin/uplatex -synctex=1 -interaction=nonstopmode $*' let g:Tex_CompileRule_ps = '/usr/texbin/dvips -Ppdf -o $*.ps $*.dvi' let g:Tex_CompileRule_pdf = '/usr/texbin/dvipdfmx $*.dvi' let g:Tex_BibtexFlavor = '/usr/texbin/pbibtex' "let g:Tex_BibtexFlavor = '/usr/texbin/upbibtex' let g:Tex_MakeIndexFlavor = '/usr/texbin/mendex $*.idx' let g:Tex_UseEditorSettingInDVIViewer = 1 "let g:Tex_ViewRule_dvi = '/usr/texbin/pxdvi -watchfile 1 -editor "vim --servername vim-latex -n --remote-silent +\%l \%f"' let g:Tex_ViewRule_dvi = '/usr/bin/open -a PictPrinter.app' "let g:Tex_ViewRule_dvi = '/usr/bin/open -a Mxdvi.app' let g:Tex_ViewRule_ps = '/usr/local/bin/gv --watch' let g:Tex_ViewRule_pdf = '/usr/bin/open -a Preview.app' "let g:Tex_ViewRule_pdf = '/usr/bin/open -a Skim.app' "let g:Tex_ViewRule_pdf = '/usr/bin/open -a TeXShop.app' "let g:Tex_ViewRule_pdf = '/usr/bin/open -a TeXworks.app' " completion set completeopt=menuone for k in split("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_",'\zs') exec "imap " . k . " " . k . "" endfor imap pumvisible() ? "\" : "\"