vimrc: update latex settings/maps/funcs
This commit is contained in:
parent
c471524880
commit
806a655e79
22
.vim/vimrc
22
.vim/vimrc
@ -312,11 +312,25 @@ augroup clang_format
|
||||
augroup END
|
||||
|
||||
|
||||
let g:livepreview_cursorhold_recompile = 0
|
||||
let g:livepreview_previewer = 'evince'
|
||||
let g:livepreview_engine = 'pdflatex -shell-escape -interaction=nonstopmode'
|
||||
let g:vimtex_compiler_progname = 'pdflatex -shell-escape --interaction=nonstopmode'
|
||||
" 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
|
||||
" _ stands for forward slash (/)
|
||||
|
Loading…
Reference in New Issue
Block a user