Created
May 3, 2009 11:13
-
-
Save soh335/105950 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"{{{ vim-latex | |
"http://vim.g.hatena.ne.jp/y_yanbe/20080918/1221724545 | |
set shellslash | |
set grepprg=grep\ -nH\ $* | |
let g:Tex_DefaultTargetFormat='pdf' | |
let g:Tex_CompileRule_pdf = 'dvipdfmx $*.dvi' | |
let g:Tex_CompileRule_dvi = 'platex --interaction-nonstopmode $*' | |
let g:Tex_FormatDependency_pdf='dvi,pdf' | |
let g:Tex_ViewRule_pdf = 'open -a /Applications/Preview.app' | |
let g:Tex_IgnoredWarnings = | |
\"Underfull\n". | |
\"Overfull\n". | |
\"specifier changed to\n". | |
\"You have requested\n". | |
\"Missing number, treated as zero.\n". | |
\"There were undefined references\n". | |
\"Citation %.%# undefined\n". | |
\'LaTeX Font Warning:'" | |
let g:Tex_IgnoreLevel = 8 | |
nnoremap <silent><space>ll :call Tex_RunLaTeX()<CR> | |
nnoremap <silent><space>lv :call Tex_ViewLaTeX()<CR> | |
function! CompileAndView() | |
execute 'w' | |
call Tex_RunLaTeX() | |
call Tex_ViewLaTeX() | |
endfunction | |
nnoremap <silent><space>lr :call CompileAndView()<CR> | |
"}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment