Ripgrep: Page output of rg,

Created on 14 Oct 2016  路  1Comment  路  Source: BurntSushi/ripgrep

Hi,
Wondering if it is possible to add an option to page the output of rg instead of me having to do
rg --color always | less -r

Thanks.

Most helpful comment

Dupe of #86.

Specifically, try putting this in your $HOME/bin:

#!/bin/sh

/path/to/rg -p "$@" | less -RFX

>All comments

Dupe of #86.

Specifically, try putting this in your $HOME/bin:

#!/bin/sh

/path/to/rg -p "$@" | less -RFX
Was this page helpful?
0 / 5 - 0 ratings

Related issues

Offpics picture Offpics  路  3Comments

hauleth picture hauleth  路  3Comments

kenorb picture kenorb  路  3Comments

timotheecour picture timotheecour  路  3Comments

kenorb picture kenorb  路  3Comments