ciaoben
ciaoben

Reputation: 3378

Getting the `Press ENTER or type command to continue`, any hint on how to solve?

I have installed Vim on my mac, I have no .vimrc nor .vim/ folder. It is a clean vim installation.

I try to use a command like :grep foo as you see in the video but I don't get results and get only the Press ENTER or type command to continue that breaks the flow and make vim unusable.

Here is a demo: https://streamable.com/ulf0z4

What it can be?

I tested some things like:

set cmdheight=2

set shortmess=a

on nvim instance that I have on the same mac, but the results are the same.. I don't know where to start to debug the problem. Any help?

Upvotes: 0

Views: 1627

Answers (1)

Chelz
Chelz

Reputation: 447

you have to specify which files you want to apply grep on. :grep foo ./*

grep fills the quickfix list which can be accessed with :copen

read :h silent to avoid the error message.

:h redraw might be interesting as well.

Upvotes: 1

Related Questions