Is there a way to control the opened instance of Vim from outside?
Let me clarify, I saw many posts about controlling an external program from Vim by simply executing commands on special key strokes occasions. But what I need is the complete opposite, sending instructions to modify how things look in the currently opened instance.
Here's what I want to accomplish: I am trying to make a webapp WYSIWYG, what you write in the textarea is processed and rendered in a box, that requires a lot of typing and modification like writing a program, but the original textarea has not a lot under the hood.
That's why I want to use Vim, and not only should I be able to use Vim to send information to the browser (which is possible I already know) I should also be able to send some messages to Vim from the browser because the box is also editable and modifies the textarea.
What would be the easiest way to accomplish that? As a start I want to know if changing the caret position (line) from an external signal is doable.