Vim Tips Wiki
We recommend that you log in before editing. This will allow other users to leave you a message about your edit, and will let you track edits via your Watchlist. Creating an account is quick and free.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 41: Line 41:
 
To allow the reverse search, Vim has to be opened with <code>vimtex</code> servername; that's the reason for the second line. (I don't use the normal shortcut <code>\ls</code> as that doesn't allow me to use the <code>v:servername</code> variable, see end of this tip.)
 
To allow the reverse search, Vim has to be opened with <code>vimtex</code> servername; that's the reason for the second line. (I don't use the normal shortcut <code>\ls</code> as that doesn't allow me to use the <code>v:servername</code> variable, see end of this tip.)
   
βˆ’
Keep in mind that any other program that communicates with Vim server should be aware of the name change (for example <code>jabref</code>). A little script like [http://web.archive.org/web/20090715013750/http://corentin.barbu.free.fr/codes/stable/ouvre ouvre] can avoid to systematically name the Vim server "vimtex".
+
Keep in mind that any other program that communicates with Vim server should be aware of the name change (for example <code>jabref</code>). A little script like [http://corentin.barbu.free.fr/codes/stable/ouvre ouvre] can avoid to systematically name the Vim server "vimtex".
   
 
Note: On my system (Ubuntu 8-10, with the latex-suite installed via vim-addon-manager) this works, but only if I substitute 'gvim' for 'vim'. Also, for things to work I must, in order, 1) Open my tex file with gvim, 2) Open my dvi file with the command \ld 3) reverse-search using Ctrl + left-mouse-click.
 
Note: On my system (Ubuntu 8-10, with the latex-suite installed via vim-addon-manager) this works, but only if I substitute 'gvim' for 'vim'. Also, for things to work I must, in order, 1) Open my tex file with gvim, 2) Open my dvi file with the command \ld 3) reverse-search using Ctrl + left-mouse-click.
Please note that all contributions to the Vim Tips Wiki are considered to be released under the CC-BY-SA
Cancel Editing help (opens in new window)