mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-11-09 18:14:27 +03:00
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:
parent
e7c4069b91
commit
f1543a73e8
@ -151,7 +151,7 @@ I cannot use the key combination X in program Y?
|
||||
|
||||
First, run::
|
||||
|
||||
kitten show_key -m kitty
|
||||
kitten show-key -m kitty
|
||||
|
||||
Press the key combination X. If the kitten reports the key press
|
||||
that means kitty is correctly sending the key press to terminal programs.
|
||||
|
@ -28,7 +28,7 @@ issues in that proposal, listed at the :ref:`bottom of this document
|
||||
|
||||
You can see this protocol with all enhancements in action by running::
|
||||
|
||||
kitten show_key -m kitty
|
||||
kitten show-key -m kitty
|
||||
|
||||
inside the kitty terminal to report key events.
|
||||
|
||||
|
@ -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::
|
||||
|
Loading…
Reference in New Issue
Block a user