set guioptions=aeigmt set gfn="Source Code Pro 12" function! Synctex() execute "silent !zathura --synctex-forward " . line('.') . ":" . col('.') . ":" . bufname('%') . " " . g:syncpdf endfunction nnoremap :call Synctex()