diff options
author | Camil Staps | 2021-06-07 15:36:47 +0200 |
---|---|---|
committer | Camil Staps | 2021-06-07 15:36:47 +0200 |
commit | cfc666aaf7ca6e549251ea2f0b8c319500731021 (patch) | |
tree | a8e41263e4453db310ac8e8e466db08e1aa19b8b /vim | |
parent | Remove rustup (diff) |
Add .latexmkrc to set up synctex with vim
Diffstat (limited to 'vim')
-rw-r--r-- | vim/.latexmkrc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vim/.latexmkrc b/vim/.latexmkrc new file mode 100644 index 0000000..ce212c3 --- /dev/null +++ b/vim/.latexmkrc @@ -0,0 +1,8 @@ +$pdf_mode = 1; + +$pdf_previewer = 'SERVER=`md5sum %T`; zathura -x "vim --servername \'$SERVER\' --remote-tab +%{line} %{input}" %S & urxvt -e vim --servername "$SERVER" %T'; + +push @extra_pdflatex_options, '-synctex=1' ; +push @extra_pdflatex_options, '-halt-on-error' ; +push @extra_pdflatex_options, '-file-line-error' ; +push @extra_pdflatex_options, '-interaction nonstopmode' ; |