I have a problem that is kind of a first-world problem. I work with vimtex and autosave where the pdf is displayed in skim. When the document is updated (through autosave), the pdf flashes for a second. So, the update is not smooth. Actually, in some documents it is smooth, and I couldn't put my finger on the reason.
Does it work smoothly for you? Do you recommend choosing a different viewer for this purpose? Should I try another update strategy?
What I mean by "not smooth", it goes black for a second (aprox) and then changes. What I mean by smooth is that the screen remains white and text appears changed. I have just one document that gets updated quite smoothly.
This is the configuration :
let g:vimtex_view_method = 'skim'
let g:vimtex_compiler_progname = 'nvr'
let g:vimtex_compiler_latexmk = {
\ 'backend' : 'nvim',
\ 'background' : 1,
\ 'build_dir' : '',
\ 'callback' : 1,
\ 'continuous' : 1,
\ 'executable' : 'latexmk',
\ 'options' : [
\ '-pvc',
\ '-shell-escape',
\ '-verbose',
\ '-file-line-error',
\ '-synctex=1',
\ '-interaction=nonstopmode',
\ ],
Another problem is that skim displays often "failed to load the file", because it is updated while it tries to load it.