mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-14 21:46:00 +01:00
Run command in vim script without breaking the screen
This commit is contained in:
parent
029364bd30
commit
79e812dc5e
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue