I am trying to recreate the functionality of the very old
conque plugin via terminal in modern vim. So far I have found a few plugins that send code to a terminal buffer. However, these do not update the display in the terminal buffer (and does not match
conque's behaviour). What I want is a way to script the following:
term_sendkeysto send some code to the terminal buffer. (existing plugins already do this).
- change focus to the terminal buffer so that the sent code renders in that window. (this part I do not know how to do.)
Any hints? I believe I can get the job number of the terminal buffer from
term_getjob, but then I am at a loss.