Is there a way to show the output of last command in vim?

When I run a shell command it asks to type ENTER at the end and once you do the output is hidden. Is there a way to see it again w/o running the command again?

Also some internal commands like make also run external commands, and those do not even stop for ENTER so if I have an error in my 'compiler' settings the command flashes on the screen too fast to see it. How do I see the command and its output? (quickfix is empty)

UPDATE

The output is DEFINITELY still there. at least on the terminal vim. if I type

:!cat

the output of the previous command is still there. the problem is a) it seems too much like a hack, I'm looking for a proper vim way b) it doesn't work in gui vim


Solution 1:

just type :! or you could try SingleCompile

Solution 2:

Putting vim into the background normally works for me (hit Ctrl+Z).

This will show you the shell you started vim from and in my case I can see the output of all the commands that I ran in vim via ":!somecommand".

This is assuming that you ran vim from a shell, not the gui one (gvim).