gauteh / vim-evince-synctex

Forward and backward search (synctex) between gvim and Evince
8 stars 15 forks source link
evince gvim latex synctex tex vim

Vim <-> Evince forward and backward search for vim-LaTeXSuite and VimTeX

This plugin provides backwards and forward search between GVIM and Evince.

Only works on GVIM at the moment.

Installation

Should work with standard plugin managers.

Requirements

Usage

LatexSuite


" compile your pdf with --synctex support:
let g:Tex_CompileRule_pdf =
      \ 'pdflatex --synctex=1 -interaction=nonstopmode -shell-escape "$*"'

Use \ls to forward search, use Ctrl+Left Mouse to backward search.

VimTex


" Bind forward search (this command is provided by us)
nnoremap <leader>lf :VimtexForwardSearch<CR>

Use \lf to forward search, use Ctrl+Left Mouse to backward search.

Resources and previous work

evince_dbus.py:

evince-backward-search:

Other resources: