mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-28 03:01:57 +02:00
Fixed some spelling
This commit is contained in:
@@ -9,7 +9,7 @@ Hyperlinked grep
|
|||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
As of ripgrep versions newer that 13.0 it supports hyperlinks
|
As of ripgrep versions newer than 13.0 it supports hyperlinks
|
||||||
natively so you can just add the following alias in your shell rc file:
|
natively so you can just add the following alias in your shell rc file:
|
||||||
``alias rg="rg --hyperlink-format=kitty"`` no need to use this kitten.
|
``alias rg="rg --hyperlink-format=kitty"`` no need to use this kitten.
|
||||||
But, see below for instructions on how to customize kitty to have it open
|
But, see below for instructions on how to customize kitty to have it open
|
||||||
@@ -45,7 +45,7 @@ Now, run a search with::
|
|||||||
Hold down the :kbd:`Ctrl+Shift` keys and click on any of the result lines, to
|
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
|
open the file in :program:`vim` at the matching line. If you use some editor
|
||||||
other than :program:`vim`, you should adjust the :file:`open-actions.conf` file
|
other than :program:`vim`, you should adjust the :file:`open-actions.conf` file
|
||||||
accordingly. TO open links with the keyboard instead, use
|
accordingly. To open links with the keyboard instead, use
|
||||||
:sc:`open_selected_hyperlink`.
|
:sc:`open_selected_hyperlink`.
|
||||||
|
|
||||||
Finally, add an alias to your shell's rc files to invoke the kitten as
|
Finally, add an alias to your shell's rc files to invoke the kitten as
|
||||||
@@ -67,7 +67,7 @@ which items are linked with a :code:`--kitten hyperlink` flag. For example,
|
|||||||
:code:`--kitten hyperlink=matching_lines` will only add hyperlinks to the
|
:code:`--kitten hyperlink=matching_lines` will only add hyperlinks to the
|
||||||
match lines. :code:`--kitten hyperlink=file_headers,context_lines` will link
|
match lines. :code:`--kitten hyperlink=file_headers,context_lines` will link
|
||||||
file headers and context lines but not match lines. :code:`--kitten
|
file headers and context lines but not match lines. :code:`--kitten
|
||||||
hyperlink=none` will cause the command line to be passed to directly to
|
hyperlink=none` will cause the command line to be passed directly to
|
||||||
:command:`rg` so no hyperlinking will be performed. :code:`--kitten hyperlink`
|
:command:`rg` so no hyperlinking will be performed. :code:`--kitten hyperlink`
|
||||||
may be specified multiple times.
|
may be specified multiple times.
|
||||||
|
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ Where to launch the child process:
|
|||||||
|
|
||||||
:code:`os-panel`
|
:code:`os-panel`
|
||||||
Similar to :code:`os-window`, except that it creates the new OS Window as a desktop panel.
|
Similar to :code:`os-window`, except that it creates the new OS Window as a desktop panel.
|
||||||
Only works on platforms that support this, such as Wayand compositors that support the layer
|
Only works on platforms that support this, such as Wayland compositors that support the layer
|
||||||
shell protocol. Use the :option:`kitten @ launch --os-panel` option to configure the panel.
|
shell protocol. Use the :option:`kitten @ launch --os-panel` option to configure the panel.
|
||||||
|
|
||||||
#placeholder_for_formatting#
|
#placeholder_for_formatting#
|
||||||
@@ -153,7 +153,7 @@ Add the newly created window/tab to the specified session. Use :code:`.` to add
|
|||||||
to the session of the :option:`source window <launch --source-window>`, if any. See :ref:`sessions`
|
to the session of the :option:`source window <launch --source-window>`, if any. See :ref:`sessions`
|
||||||
for what a session is and how to use one. By default, the window is added to the
|
for what a session is and how to use one. By default, the window is added to the
|
||||||
session of the :option:`source window <launch --source-window>` when :option:`launch --cwd`
|
session of the :option:`source window <launch --source-window>` when :option:`launch --cwd`
|
||||||
is set to use the the working directory from that window, otherwise the newly created window
|
is set to use the working directory from that window, otherwise the newly created window
|
||||||
does not belong to any session. To force adding to no session, use the value :code:`!`.
|
does not belong to any session. To force adding to no session, use the value :code:`!`.
|
||||||
Adding a newly created window to a session is purely temporary, it does not change the actual
|
Adding a newly created window to a session is purely temporary, it does not change the actual
|
||||||
session file, for that you have to resave the session. Note that using this flag in a launch
|
session file, for that you have to resave the session. Note that using this flag in a launch
|
||||||
|
|||||||
Reference in New Issue
Block a user