vimrc: update latex settings/maps/funcs

This commit is contained in:
surtur 2022-10-30 02:58:49 +01:00
parent c471524880
commit 806a655e79
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -312,11 +312,25 @@ augroup clang_format
augroup END augroup END
let g:livepreview_cursorhold_recompile = 0 " latex
let g:livepreview_previewer = 'evince'
let g:livepreview_engine = 'pdflatex -shell-escape -interaction=nonstopmode'
let g:vimtex_compiler_progname = 'pdflatex -shell-escape --interaction=nonstopmode'
let g:tex_flavor = 'latex' let g:tex_flavor = 'latex'
let g:tex_conceal='abdmg'
let g:Tex_MultipleCompileFormats='pdf,bib,pdf'
" let g:Tex_CompileRule_pdf = 'mkdir -p build && lualatex -output-directory=build -interaction=nonstopmode $* && cp *.bib build && cd build && bibtex %:r && cd .. && lualatex -output-directory=build -interaction=nonstopmode $* && mv build/$*.pdf .'
let g:vimtex_view_method = 'zathura'
" let g:vimtex_compiler_progname = 'pdflatex -shell-escape --interaction=nonstopmode'
" let g:vimtex_compiler_progname = 'lualatex --shell-escape --interaction=nonstopmode --synctex=1 %O %S'
" let g:vimtex_compiler_progname = 'lualatex -shell-escape --interaction=nonstopmode --synctex=1'
let g:vimtex_compiler_engine = 'lualatex'
" let g:vimtex_compiler_engine = 'pdflatex'
let g:vimtex_compiler_latexmk = {
\ 'options' : ['-pdf', '-verbose', '-bibtex', '-file-line-error','-synctex=1', '--interaction=nonstopmode'],
\}
let g:matchup_matchparen_deferred = 1
let g:vimtex_quickfix_open_on_warning = 0
let g:vimtex_quickfix_enabled = 0
" nerdcommenter " nerdcommenter
" _ stands for forward slash (/) " _ stands for forward slash (/)