From 3fef88195692998be59b0ef53dd37adf067116be Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 26 Sep 2023 09:44:45 +0530 Subject: [PATCH] Fix #6653 --- docs/kittens/hyperlinked_grep.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/kittens/hyperlinked_grep.rst b/docs/kittens/hyperlinked_grep.rst index b3e6286d7..7247cc44a 100644 --- a/docs/kittens/hyperlinked_grep.rst +++ b/docs/kittens/hyperlinked_grep.rst @@ -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 `__ and open the results directly in your favorite editor in the terminal, at the line containing the search result,