Run command in vim script without breaking the screen

This commit is contained in:
Moritz Lipp 2013-12-30 06:46:09 +01:00
parent 029364bd30
commit 79e812dc5e

View File

@ -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>