This commit is contained in:
Kovid Goyal
2023-09-26 09:44:45 +05:30
parent 2502111697
commit 3fef881956

View File

@@ -1,6 +1,14 @@
Hyperlinked grep
=================
.. note::
As of ripgrep versions newer that 13.0 it supports hyperlinks
natively so you can just add the following alias in your shells rc files:
``rg=alias rg --hyperlink-format=kitty` no need to use this kitten.
But, see below for instructions on how to customize kitty to have it open
the hyperlinks from ripgrep in your editor.
This kitten allows you to search your files using `ripgrep
<https://github.com/BurntSushi/ripgrep>`__ and open the results directly in your
favorite editor in the terminal, at the line containing the search result,