jose isaias cabrera wrote:
Greetings!

When I execute a command on the vim shell, ie.,

:!build -I..;c:\dmd\import -version=gui OpenJobs.d

a DOS command screen pops up and there is some data there. I have two questions: 1. Can the info provided by the execution of the command be placed right below the command, ie.

:!build -I..;c:\dmd\import -version=gui OpenJobs.d[ENTER]
Output from the command above which
will have been printed on the DOS Command Screen
But instead is printed here, which is very nice instead of having
DOS screen waiting for me to hit enter
And then having to hit ENTER here again.
Press ENTER or type command to continue

Or, if #1 is not possible,

2. How can I disable the "Press ENTER or type command to continue" which follows after I hit enter on the DOS command prompt?

thanks.

josé



AFAIK, on Windows the best you can do is to read the output of the command into a buffer, e.g.

        :$r !build -I..;c\dmd\import -version=gui OpenJobs.d

- The space between r and ! is important
- the :$ as a line number means "add below the last line of the current buffer". Replace the $ by any valid line number, or 0 to insert before line 1.
- Use an empty [No Name] buffer if you don't want to write it to some file.


Best regards,
Tony.

Reply via email to