From d57b7720f873d17d772c1c85051353d3a0cb4389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Thu, 9 Feb 2017 21:35:06 +0100 Subject: [PATCH] Updated SumatraPDF suggestions according to #680 --- doc/vimtex.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/vimtex.txt b/doc/vimtex.txt index 32c6e06..eadac94 100644 --- a/doc/vimtex.txt +++ b/doc/vimtex.txt @@ -986,13 +986,15 @@ Options~ the command line. This can be utilized to set the correct |servername| for inverse search: > - let g:vimtex_view_general_viewer = 'SumatraPDF -reuse-instance ' + let g:vimtex_view_general_viewer = 'SumatraPDF' + let g:vimtex_view_general_options + \ = '-reuse-instance -forward-search @tex @line @pdf' \ . '-inverse-search "gvim --servername ' . v:servername \ . ' --remote-send \"^^' \ . ':drop \%f^:\%l^:normal\! zzzv^' \ . ':execute ''drop '' . fnameescape(''\%f'')^' \ . ':\%l^:normal\! zzzv^' - \ . ':call remote_foreground('''.v:servername.''')^\""' + \ . ':call remote_foreground('''.v:servername.''')^^\""' < *vimtex_viewer_mupdf* http://www.mupdf.com/