Whenever I use :make to compile, vim disappears from the screen and goes to the background, and is replaced by the shell command line screen with the message "Press ENTER or type command to continue".
In this case, one could use a macro to press ENTER automatically and bring back vim. But while the macro is running, the screen display is not smooth, i.e., one can still see that the screen redraws (although very quickly) as vim goes out, shell comes in and out, and finally vim comes into the screen again.
I am wondering, does anyone know if there is a way to keep vim always on top, like always in the foreground? I would like to keep the shell display in the background when executing :make, and redraw the screen only after the macro pressed ENTER and vim is back to the foreground?
Thanks!