Hi Charles,

On 10/3/06, Charles E Campbell Jr <[EMAIL PROTECTED]> wrote:
Bram Moolenaar wrote:

>Suresh Govindachar wrote:
>
>
>>Is it possible to add an autocommand-event for "Clipboard Changed"?
>>
>>
>
>Not really.  This is not something that happens inside Vim.  Polling for
>changes in the system is not really something I would like to add to Vim.
>
>
Bram -- would you be willing to give out a bit of code that will send a
remote message to vim?
Some function, perhaps SendCmd2Vim("string").  That way it'll be simple
for folks to make their
own external programs to send a command to vim via the already available
remote vim stuff.

Presumably the code snippet wouldn't be a Part of Vim itself; maybe
something for vim.sf.net?

Just an idea...
Chip Campbell


Are you referring to a sample code similar to the xcmdsrv_client.c file under
the $VIM/tools directory? This sample code shows how to send commands
to a remote Vim from a C program in Unix systems running X-Windows.
A similar sample code for MS-Windows is needed.

- Yegappan

Reply via email to