From c8300975112941943b98cf685f04357ad0360dd6 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 14 Nov 2020 00:03:15 +0530 Subject: [PATCH] Add a note about using hyperlinks with the hints kitten --- docs/kittens/hints.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/kittens/hints.rst b/docs/kittens/hints.rst index f89c47e4b..b2016f06b 100644 --- a/docs/kittens/hints.rst +++ b/docs/kittens/hints.rst @@ -28,11 +28,17 @@ to be used can be modified using options passed to the kitten. For example:: will open the selected file in a new tab inside neovim when you press :kbd:`ctrl+g`. +Pressing :sc:`open_selected_hyperlink` will open hyperlinks, i.e. a URL +that has been marked as such by the program running in the terminal, +for example, by ``ls --hyperlink=auto``. You can also :doc:`customize what actions are +taken for different types of URLs <../open_actions>`. + The hints kitten is very powerful to see more detailed help on its various options and modes of operation, see below. You can use these options to create mappings in :file:`kitty.conf` to select various different text snippets. See :sc:`insert_selected_path` for examples. + Completely customizing the matching and actions of the kitten ---------------------------------------------------------------