> Get I somehow get the return code of an exectued shell command > (started via ":!"). > > What I'm trying to achieve is: > When the command fails, the "hit-enter"-prompt should be shown, so one > can read the error message. But when the command runs succesfully, the > "hit-enter" should be skipped automagically.
There was a recent thread on a similar topic regarding jumping to the line-number returned as the exit code. Short answer, you want "v:shell_error" -tim --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
