mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-03 22:25:57 +00:00
Merge branch 'Spelling' of https://github.com/bjoernab/kitty
Some checks are pending
CI / Linux (python=3.13 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.11 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
Some checks are pending
CI / Linux (python=3.13 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.11 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
This commit is contained in:
commit
9b2c7ddcf5
2 changed files with 5 additions and 5 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -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 <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
|
||||
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:`!`.
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue