Thursday, November 25, 2010

Re: vim remote connection from c-programm

Excerpts from Klaus Rudolph's message of Thu Nov 25 11:15:49 +0100 2010:
> Hi all,
>
> I want to open a remote connection to an existing vim from another program which is written in C. Can anyone provide a code snippet in C which opens such a connection?

github.com/MarcWeber/vim-addon-async -> C/*.c file

The connection is one way: The external app asks a question and Vim
replies. If you want Vim to communicate to the external application you
have to watch files or do similar.

What's your use case?

Note: I'm not a C programmer so my code may contain many bugs. It works
fine for me though.

Marc Weber

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment