Tuesday, November 6, 2012

Re: Launch vimscript from Win system

Excerpts from niva's message of Tue Nov 06 16:32:26 +0100 2012:
> I would like to launch those vimscript functions by external system call.(system win32).
What do you mean by "external sytsem call."?

The only way to communicate with vim from the outsied is by using
client-srever or the netbeans api.

You can't call viml code from the outside (like using a dll) - all you
can do is "write input to a file", "call vim whih writes output to a
second file", "read result" like things, and little nicer by using the
client-server features. :h client-server :h netbeans

I'd consider rewriting your code in another language such as python
- depending on how much it is. You can run python from within vim, but
also outside of Vim

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: