wincent/ferret

How Do I use like this :Ack div | grep index

Closed this issue · 2 comments

Hi.
How do I command like Ack.vim or terminal Rg?

:Ack div | grep index 
Rg div | grep index

The Vim command line is not a shell so you can't use a pipe like that. Instead, you must provide a single search pattern like one of.the following:

:Ack div.+index
:Ack index.+div

Depending on the order of the words (you could also write the pattern in an order-independent way).

Usage is further described in the docs.

Ahh.. like on regex.
Got it. Thanx.