text: Q:
  
  Using makefiles and vim without prompt
  
  I'm using vim and im doing a lot of
  :make
  
  within vim. The only thing that is really annoying is that I have to press ENTER twice to jump back to the editor. I just want to go directly back if everything worked out fine. And I want to see the error once and press a key to jump directly to the error line.
  Any ideas?
  
  A:
  
  This is known as the hit-enter prompt:
  
  If you accidentally hit  or  and you want to see the displayed
    text then use |g<|.  This only works when 'more' is set.
  To reduce the number of hit-enter prompts:
  
  Set 'cmdheight' to 2 or higher.
  Add flags to 'shortmess'.
  Reset 'showcmd' and/or 'ruler'.
  
  Also, I'm sure you are aware of the quickfix window (:copen) to navigate errors/messages?
  
  A:
  
  This can happen when the 'cmdheight' varible is < 2.
  
  A:
  
  I had the same problem. This is a simple solution that seems to work:
  map <F2> :silent make^M
  
  Now I just hit the F2 key to compile and the annoying prompt is not so annoying.
  
  