hi, I'm new to vim and trying to emulate SciTE's behaviour when
running interactive scripts (Python in my case).

In SciTE, when you run an interactive script (for example, a game),
anything that goes to stdout is directed to an output pane which
prints as the script is running.

Everything I've tried in vim so far (using the runscript plugin,
redirecting to a buffer, to a register, etc.) lets you run the script
and capture stdout, but the stdout only is printed after the script
exits, which doesn't work for testing an interactive script.

If I run the script in vim with !start I can get the stdout in the
console, but I'm wondering how to get this into a new buffer in vim to
take advantage of what I can do with the buffer.

Is the best solution to use !start and capture stdout in a register to
put in a buffer afterward? It seems like there should be a better
way.

Thanks for any help.

-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to