docs: add SyncTeX section with viewer recipes

Problem: SyncTeX setup for forward/inverse search was undocumented,
forcing users to figure out viewer-specific CLI flags on their own.

Solution: Add `preview-synctex` vimdoc section with shared setup and
per-viewer recipes for Zathura, Sioyek, and Okular. Add FAQ entry
in README pointing to the new section.
This commit is contained in:
Barrett Ruth 2026-03-05 21:59:42 -05:00
parent 1fbc307bad
commit 8dd8b533cc
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
2 changed files with 117 additions and 0 deletions

View file

@ -81,3 +81,8 @@ vim.g.preview = {
typst = { open = { 'sioyek', '--new-instance' } },
}
```
**Q: How do I set up SyncTeX (forward/inverse search)?**
See `:help preview-synctex` for full recipes covering Zathura, Sioyek, and
Okular.