From cfc666aaf7ca6e549251ea2f0b8c319500731021 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 7 Jun 2021 15:36:47 +0200 Subject: Add .latexmkrc to set up synctex with vim --- vim/.latexmkrc | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 vim/.latexmkrc (limited to 'vim') 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' ; -- cgit v1.2.3