Files
dotfiles/.config/vim/ftplugin/tex.vim
Julian Prein a0825dac6a vim:ftplugin:tex: Remove options set by default
Quite a few things were obsolete because they were deprecated or already
set by default.
2023-06-24 18:20:03 +02:00

17 lines
454 B
VimL

" Turn on line-wrapping
setlocal wrap
" Close the quickfix window after a cursor movement
let g:vimtex_quickfix_autoclose_after_keystrokes = 1
" Put all files into tex_build/
let g:vimtex_compiler_latexmk = {
\ 'aux_dir': 'tex_build',
\ 'out_dir': 'tex_build',
\ }
" Use zathura for vim-like bindings and synctex support
" NOTE: Check zathurarc(5) if synctex is activated
let g:vimtex_context_pdf_viewer='zathura'
let g:vimtex_view_method='zathura'