26 lines
728 B
VimL
26 lines
728 B
VimL
" Turn on line-wrapping
|
|
setlocal wrap
|
|
" Disable C-indentation as it messes up formatting of paragraphs containing
|
|
" parentheses
|
|
setlocal nocindent
|
|
|
|
" Close the quickfix window after a cursor movement
|
|
let g:vimtex_quickfix_autoclose_after_keystrokes = 1
|
|
|
|
" Do not open quickfix window on warnings
|
|
let g:vimtex_quickfix_open_on_warning = 0
|
|
|
|
" 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'
|
|
|
|
" Escape underscores in macro-type
|
|
let g:macro_type_mappings['<Space>'] = '\_'
|