This plugin provides backwards and forward search between VIM and Evince.
Not tested on GVIM at the moment.
Should work with standard plugin managers.
- Evince
- Python 3
- Python 2
" 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.
" 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.
evince_dbus.py:
evince-backward-search:
Other resources: