Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Typically when I invoke an GUI application in vim, I get a command prompt that awaits for my response:

shell returned 1
Hit any key to close this window...

How can I not make this prompt to show up, or not require me to press a key?

shortmess+=A 

does not make the message go away

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

I believe you are referring to Windows' cmd.exe window, which is the only place I can find this prompt with this specific wording.

Unfortunately, you are stuck with this prompt if you want an interactive "shell" window under Windows. However, if user interaction is not necessary or if the command you are running brings up its own window for interaction you can try this instead:

:!start yourcommand

For more information, see:

:help :!start
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.