Skip to content

Instantly share code, notes, and snippets.

@bennygit
Created February 13, 2014 16:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bennygit/8978482 to your computer and use it in GitHub Desktop.
Save bennygit/8978482 to your computer and use it in GitHub Desktop.
synctex vim qpdfview
# qpdfview synctex vim synchronization
# for qpdfview
vim --servername LATEX --remote-silent +%2<Enter> %1
# for alias in .bashrc
alias vimtex='vim --servername LATEX'
@bchretien
Copy link

And if you want to center the vim buffer on the line you selected in qpdfview:

vim --servername LATEX --remote-silent +%2<Enter>zz %1

@ih4cku
Copy link

ih4cku commented Jul 2, 2016

Can one navigate to the column of the source with the qpdfview provided parameter %3?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment