Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .