[Vim-latex-devel] Re: inverse search
Brought to you by:
srinathava,
tmaas
From: Benji F. <be...@me...> - 2003-03-26 13:15:58
|
Baris Erbas wrote: > *This message was transferred with a trial version of CommuniGate(tm) Pro* > > Dear Benji, > Soory for the late reply. What I want to do is when I run gvim and then > click on a file I want that file to be opened in the already opened gvim > session. For this I start gvim with the --servername option but I > couldnt get it to work. Again, this is not a helpful description of the problem. *How* did it fail to work? > The second problem I actually mentioned was when > I compile my latex file by Latex-Suite and view it with yap viewer under > Windows I want to be able to go back to my original file when I double > click a line in the dvi file. I put different possible options under > yap's menu for this such as --remote or --remote-wait but what happens > is it goes to the already opened gvim session but does open a blank > window and complains about not finding the file. When I look at the > buffers menu I see > c:\test\my_test > c:\test > ... > lines. I assume it is trying to find files called as above which are > actually the directories and the location of the file. So I am quite > close to the solution but can not find the last option to add, so to > speak. I think you have to use both the --remote (or --remote-wait) and the --servername options. Have another look at :help clientserver I suggest you try to separate this into two problems. First, figure out how to open a file in a running gvim from the command line. Once that is working, try to get it to work from Yap. HTH --Benji Fisher |