diff --git a/tex_zathurasynctex.vim b/tex_zathurasynctex.vim index 652eab4..9f28889 100644 --- a/tex_zathurasynctex.vim +++ b/tex_zathurasynctex.vim @@ -45,8 +45,8 @@ function! Zathura_SyncTexForward() endif endif - let execstr = "silent !zathura --synctex-forward=".input." ".shellescape(output) - exec execstr + let execstr = "zathura --synctex-forward=".input." ".shellescape(output) + silent call system(execstr) endfunction nmap f :call Zathura_SyncTexForward()