You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: Forward search requires xdotool to work properly...
If xdotool isn't installed I see the warning:
vimtex warning: Zathura requires xdotool!
And when I do \lv VIM cause E716: Key not present in Dictionary: view. After \ll there isn't also any clue of zathura running.
But If I install xdotool everything is working as expected. So basically xdotool is necessary not only for forward searching but for combination vimtex+zathura to be working!
That ambiguousness is confusing. I spent a lot of time figuring out why it zathura isn't showing up at all. There should be a big notice somewhere that installed xdotool is vital component of vimtex+zathura combination!
vimrc:
setnocompatiblefiletypepluginindentonsyntaxenablesetcompleteopt=menu,preview
let &rtp='~/.vim/plugged/vimtex,' . &rtplet &rtp='~/.vim/plugged/vimtex/after,' . &rtpletg:vimtex_view_method='zathura'letg:vimtex_quickfix_open_on_warning=0
minimal tex file:
\documentclass{minimal}
\begin{document}
text
\end{document}
The text was updated successfully, but these errors were encountered:
I'm sorry about the inconsistency. I've updated the code and warning and think it should be more consistent now. For some reason, I disabled the viewer when xdotool was missing, instead of defining it with reduced features.
There is a line in docs which says following:
If xdotool isn't installed I see the warning:
And when I do
\lv
VIM causeE716: Key not present in Dictionary: view
. After\ll
there isn't also any clue of zathura running.But If I install
xdotool
everything is working as expected. So basicallyxdotool
is necessary not only for forward searching but for combination vimtex+zathura to be working!That ambiguousness is confusing. I spent a lot of time figuring out why it zathura isn't showing up at all. There should be a big notice somewhere that installed
xdotool
is vital component of vimtex+zathura combination!vimrc:
minimal tex file:
The text was updated successfully, but these errors were encountered: