Supported editors


Forward Search (from gedit to the document viewer) and Backward search (from the document viewer to gedit) are both supported.


The gedit plugin contains a python script ( that can be used to get SyncTeX working with Vim. In order to use vim-latex together with the document viewer you need to follow the next steps:

  1. Copy the to some directory in your path and give it +x permissions.

  2. Modify your ~/.vimrc file and add the following lines.

    let g:Tex_ViewRule_pdf = ''
    let g:Tex_DefaultTargetFormat = 'pdf'
    let g:Tex_CompileRule_pdf = 'pdflatex --synctex=1 -interaction=nonstopmode $*'
  3. Now you can use Forward search from vim-latex by typing \ls. Backward search is not yet supported.