From 5334f6090a11a3e85d6ae65b41e235014c0b4a29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Sun, 16 Oct 2016 11:01:52 +0200 Subject: [PATCH] Fix #587: Add comment on Okular backward search --- doc/vimtex.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/vimtex.txt b/doc/vimtex.txt index 09cb44a..e234123 100644 --- a/doc/vimtex.txt +++ b/doc/vimtex.txt @@ -876,12 +876,19 @@ Options~ *vimtex_viewer_okular* https://okular.kde.org/ Okular is a very feature rich PDF viewer that supports forward - and backward search. Backward search must be set up from the - viewer. > + and backward search. Recommended settings are: > let g:vimtex_view_general_viewer = 'okular' let g:vimtex_view_general_options = '--unique @pdf\#src:@line@tex' let g:vimtex_view_general_options_latexmk = '--unique' + +< Backward search must be set up from the viewer through + Settings > Editor > Custom Text Editor. The following settings + should work for Vim and neovim (Note: see |vimtex_faq_neovim|), + respectively: > + + vim --remote-silent %f -c %l + nvr --remote-silent %f -c %l < *vimtex_viewer_qpdfview* https://launchpad.net/qpdfview