Created
July 4, 2013 07:56
-
-
Save linktohack/5925742 to your computer and use it in GitHub Desktop.
vim LaTeX forwad search
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" LaTeXForwadSearch {{{ | |
function! LaTeXForwadSearch() | |
silent! execute '!"C:\Applications\SumatraPDF\SumatraPDF.exe -reuse-instance ' \ | |
. expand('%:p:r') . '.pdf -forward-search ' . expand('%:p') . ' ' . line('.') . '"' | |
" This line is reverse search for SumatraPDF | |
"C:\Users\Link\Dropbox\Applications\Vim\gvim.exe" --remote-silent +"%l|norm zz" "%f" | |
endfunction | |
" }}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment