Using the vimtex plugin, forward searching (from the .tex file to the .pdf) works with Skim but not with zathura.
In nvim, the error Vimtex: Viewer cannot find Zathura window ID! appears. This seems to be caused by a problem with xdotool, which does not assign a window id to the zathura window.
But in Terminal, the following command doesn't do anything either:
zathura --synctex-forward 100:10:mwe.tex mwe.pdf
Has anyone been successful in getting forward search to zathura to work on macOS?
Additionally, I'm using the following settings in Skim > Preferences > Sync: Preset: Custom; Command: nvim; Arguments: -remote-silent %line "%file" Note that I am using nvim. If using nvim you should have neovim-remote (a plugin) installed.
Zathura is more lightweight and can be customised to use the same colorscheme as your vim.
– Timothy Roes Dec 18 '20 at 11:47