Consider any interpreted programming language.
I can run the currently opened script using ! interpreter %
, and use the return key to return to vim after the execution is finished.
Is it somehow possible to not replace the current window with the output of the executed shell command, but open the output in a new split pane instead? I would like to still see my source code during the execution of my script.
I tried :split ! interpreter %
, but it didn't work.
Is there a way? I am using vim 7.3.