I am using
:grep to search for occurences of a string within a set of files:
:grep rainbow *.txt
This result is then shown in the terminal:
doc1.txt:2:saw a rainbow today doc2.txt:17:it was not a black rainbow doc3.txt:7:most of those rainbow unicorns (1 of 3): saw a rainbow today Press ENTER or type command to continue
To get back to Vim, I need to press Enter. I don't want to have to press Enter. Is there a way to prevent the prompt?
I know I can do this to prevent the prompt:
:silent :grep rainbow *.txt :redraw!
But that's a lot of extra letters to have to type.