aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/.latexmkrc8
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' ;