Commit 79e812dc authored by Moritz Lipp's avatar Moritz Lipp

Run command in vim script without breaking the screen

parent 029364bd
......@@ -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 <buffer> <Leader>f :call Zathura_SyncTexForward()<Enter><Enter>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment