Account for space in SumatraPDF inv search (#77)

This commit is contained in:
Karl Yngve Lervåg 2014-12-04 20:35:47 +01:00
parent f4fa5e5df1
commit b23050a77f

View File

@ -781,8 +781,13 @@ web to find out how to do it. For example for SumatraPDF a working setup is: >
let g:latex_viewer='SumatraPDF -reuse-instance -inverse-search '.
\ '"gvim --servername '.v:servername.' --remote-send \"^<C-\^>^<C-n^>'.
\ ':drop \%f^<CR^>:\%l^<CR^>:normal\! zzzv^<CR^>'.
\ ':execute ''drop ''.fnameescape(''\%f'')^<CR^>'.
\ ':\%l^<CR^>:normal\! zzzv^<CR^>'.
\ ':call remote_foreground('''.v:servername.''')^<CR^>\""'
Note that both of these commands assume that the folder that contains gVim.exe
is in your %PATH% environment variable.
==============================================================================
MOTION *vim-latex-motion*