I set up vim to automatically recompile a .tex to .pdf, so I can preview it in zathura. However each time it recompiles there's a slight flicker which I find annoying. I set the option render-loading to false, but it still flickers. Since most of the pdf will be the same it would make sense that the transition would be from how it looked before the edit to immediatly after, without a white page flicker in between.
What's the best way to accomplish this? There doesn't seem to be a option in zathura for this, and I don't know much about manipulating screen output.
(I am using i3wm on arch linux).