diff --git a/docs/kittens/hyperlinked_grep.rst b/docs/kittens/hyperlinked_grep.rst index 7dfac87c0..4f1c5c1f9 100644 --- a/docs/kittens/hyperlinked_grep.rst +++ b/docs/kittens/hyperlinked_grep.rst @@ -9,7 +9,7 @@ Hyperlinked grep .. 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: ``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 @@ -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 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 -accordingly. TO open links with the keyboard instead, use +accordingly. To open links with the keyboard instead, use :sc:`open_selected_hyperlink`. 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 match lines. :code:`--kitten hyperlink=file_headers,context_lines` will link 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` may be specified multiple times. diff --git a/kitty/launch.py b/kitty/launch.py index 4f00f2a07..d599885e1 100644 --- a/kitty/launch.py +++ b/kitty/launch.py @@ -120,7 +120,7 @@ Where to launch the child process: :code:`os-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. #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 `, if any. See :ref:`sessions` for what a session is and how to use one. By default, the window is added to the session of the :option:`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:`!`. 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