From 7bf1731cde2fc486679be4d11fae0b69dff28d92 Mon Sep 17 00:00:00 2001 From: Adriano Di Luzio Date: Sun, 24 Apr 2016 00:26:49 +0200 Subject: [PATCH] Add '@tex' to Skim 'g:vimtex_view_general_options' I couldn't get forward search to work without the `@tex` flag. Then, I found the solution in issue #204, I added it to the rc file and all went well. So it may be worth adding it to the docs. --- doc/vimtex.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/vimtex.txt b/doc/vimtex.txt index dade523..aa53901 100644 --- a/doc/vimtex.txt +++ b/doc/vimtex.txt @@ -832,7 +832,7 @@ Options~ let g:vimtex_view_general_viewer \ = '/Applications/Skim.app/Contents/SharedSupport/displayline' - let g:vimtex_view_general_options = '-r @line @pdf' + let g:vimtex_view_general_options = '-r @line @pdf @tex' " This adds a callback hook that updates Skim after compilation let g:vimtex_latexmk_callback_hooks = ['UpdateSkim']