I noticed that, if I use

call term_sendkeys(buf, "make\n")

and then I try to execute something else in the terminal windows (i.e. ls), vim append the last string sent from command mode to the actual string just inserted in the terminal window.

Resuming, if I execute (from command mode)

call term_sendkeys(buf, "make\n")

and then, from the terminal window I execute ls , the inner shell automaticallt executes


Is this a bug or what am I missing here ?



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.