inverse search: make vim cursor position better reflect positin in pdf
This commit is contained in:
parent
17f184a866
commit
74d10c15be
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user