On Thu 13 Mar 2014 at 08:59:55AM -0500, tooth pik wrote:

> On Thu, Mar 13, 2014 at 04:13:53AM -0700, Viktor Kojouharov wrote:
>
> > To easily use the remote-expr feature. You need to start a new
> > instance of vim and point it to the current running vim server. And
> > I need the full executable path in order to start the remote-expr.
> > Vim is usually in the path on linux systems, but that's not the case
> > on windows and macvim
>
> if, when you start your first vim that's going to be the server, you
> specify a name in the --servername option, you can then use that name
> in subsequent vim instances to talk directly to that server, no need
> for PIDs or other tricks

There is no guarantee that an executable path is unique (multiple hard
links) or stable over time, therefore tooth pik's suggestion is best.

It's also the method implied by the documentation.

    guns

Attachment: pgpLiBMK8ax9m.pgp
Description: PGP signature

Raspunde prin e-mail lui