1
0
mirror of https://github.com/balkian/dotfiles.git synced 2025-08-23 16:02:19 +00:00

Fixed latex+okular in vim

This commit is contained in:
J.Fernando Sánchez
2013-03-07 16:25:52 +01:00
parent e1bd31308f
commit 115a9e3118
2 changed files with 24 additions and 24 deletions

View File

@@ -7,5 +7,14 @@ endfunction
nmap <Leader>f :call SyncTexForward()<CR>
map <leader>ct yyp:s/begin/end/<CR>
"Latex
let g:tex_flavor = "latex"
set suffixes+=.log,.aux,.bbl,.blg,.idx,.ilg,.ind,.out,.pdf
let g:LatexBox_latexmk_options="-pvc"
let g:Tex_CompileRule_pdf = 'pdflatex --synctex=1 -interaction=nonstopmode $*'
let g:LatexBox_output_type="pdf"
let g:LatexBox_viewer="okular --unique"
let tlist_tex_settings = 'latex;l:labels;s:sections;t:subsections;u:subsubsections'