vimtex: Set out_dir to /tmp/vimtex

This guarantees that auxiliary files won't be present in the current
directory from latexmk, and encourages reproducible pdfs with the usage
of tectonic.
This commit is contained in:
Donovan Glover 2024-05-20 11:07:19 -04:00
parent 0f5f85c61d
commit 4e61b89e3b
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -403,7 +403,7 @@ in
let g:vimtex_mappings_enabled = 0
let g:vimtex_imaps_enabled = 0
let g:vimtex_view_method = 'zathura'
let g:vimtex_compiler_latexmk = {'build_dir': '.tex'}
let g:vimtex_compiler_latexmk = {'out_dir': '/tmp/vimtex'}
nnoremap <localleader>f <plug>(vimtex-view)
nnoremap <localleader>g <plug>(vimtex-compile)