Hi all, I previously thought it was necessary to patch vim-latex in order to have forward search when using sumatrapdf in windows, but after checking the options of sumatrapdf I realize that it is much easier. I just defined a function:
function! MyForwardSearch() let target = 'main.pdf' let cmd = g:SumatraPdfLoc . " -reuse-instance -forward-search " . expand('%:p') . " " . line('.') . " " . target let execString = 'silent! !start ' . cmd exe execString endfunction nnoremap <Leader>la :<C-U>call MyForwardSearch()<CR> here g:SumatraPdfLoc is a string to where sumatra is located "c:\....\sumatrapdf.exe" target is the pdf that is produced I couldn't find a way of doing this directly with vim-latex without defining this function and mapping. Would it be possible to incorporate similar changes to this directly into vim-latex or vim-latex already supports this and I have something wrong with my configuration? Thanks, Jorge ------------------------------------------------------------------------------ The Windows 8 Center In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel