Ripgrep: Changing formatting of search results

Created on 30 Nov 2017  Â·  2Comments  Â·  Source: BurntSushi/ripgrep

When using --no-heading, is there any way to add a space between the filename and the :##:?

At the moment it concatenates the file, the line number and the line with the search result meaning that double clicking to select a file selects the number as well so double-click → middle-click to type a file name isn't possible.

question

All 2 comments

No, sorry. If you want this, I'd recommend writing a script that post-processes the output.

For anyone else having a similar issue, you can change how double-click selects words. For gnome-terminal, edit → General → Select-by-word-characters → remove : from textbox.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

daxim picture daxim  Â·  3Comments

lexicalunit picture lexicalunit  Â·  3Comments

fcantournet picture fcantournet  Â·  3Comments

danpintara picture danpintara  Â·  3Comments

davidtwco picture davidtwco  Â·  3Comments