inverse search: make vim cursor position better reflect positin in pdf

This commit is contained in:
Enno Nagel 2015-01-12 20:48:46 +01:00
parent 17f184a866
commit 74d10c15be

View File

@ -158,6 +158,9 @@ function! latex#view#mupdf_rsearch() "{{{1
silent exec "edit " . mupdf_infile silent exec "edit " . mupdf_infile
if line > 0 if line > 0
silent exec ":" . line silent exec ":" . line
" Unfold, move to top line to correspond to top pdf line, and go to end of
" line in case the corresponding pdf line begins on previous pdf page.
normal! zvztg_
endif endif
endfunction endfunction