mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 23:13:48 +01:00
Run command in vim script without breaking the screen
This commit is contained in:
parent
029364bd30
commit
79e812dc5e
@ -45,8 +45,8 @@ function! Zathura_SyncTexForward()
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let execstr = "silent !zathura --synctex-forward=".input." ".shellescape(output)
|
let execstr = "zathura --synctex-forward=".input." ".shellescape(output)
|
||||||
exec execstr
|
silent call system(execstr)
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
nmap <buffer> <Leader>f :call Zathura_SyncTexForward()<Enter><Enter>
|
nmap <buffer> <Leader>f :call Zathura_SyncTexForward()<Enter><Enter>
|
||||||
|
Loading…
Reference in New Issue
Block a user