docs: use the hyphenated kitten name

This applies the suggestion in https://github.com/kovidgoyal/kitty/issues/7402#issuecomment-2084726356
This commit is contained in:
nobe4
2024-04-30 12:43:52 +02:00
parent e7c4069b91
commit f1543a73e8
3 changed files with 5 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ following contents:
.. code:: conf
# Open any file with a fragment in vim, fragments are generated
# by the hyperlink_grep kitten and nothing else so far.
# by the hyperlink-grep kitten and nothing else so far.
protocol file
fragment_matches [0-9]+
action launch --type=overlay --cwd=current vim +${FRAGMENT} ${FILE_PATH}
@@ -40,7 +40,7 @@ following contents:
Now, run a search with::
kitten hyperlinked_grep something
kitten hyperlinked-grep something
Hold down the :kbd:`Ctrl+Shift` keys and click on any of the result lines, to
open the file in :program:`vim` at the matching line. If you use some editor
@@ -51,7 +51,7 @@ accordingly. TO open links with the keyboard instead, use
Finally, add an alias to your shell's rc files to invoke the kitten as
:command:`hg`::
alias hg="kitten hyperlinked_grep"
alias hg="kitten hyperlinked-grep"
You can now run searches with::