Tuesday, December 1, 2009

How to find the location of the vim executable?

Hi,

Is it possible to detect the vim executable on which I am running?

The purpose is to drop wget.exe to the same directory as gvim.exe
and vimrun.exe under Windows. With three executables, I can make
a simplest "plug and play" CLOUD input method, VimIM, on Windows.

As of now, I ask users to drop wget.exe to the plugin directory, and
I can detect it by using something like =>
s:path=expand("<sfile>:p:h")."/"

Thanks

Sean

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: