Add some docs for the previous PR
This commit is contained in:
parent
c0ea127810
commit
ced61096df
@ -78,6 +78,9 @@ Detailed list of changes
|
|||||||
0.24.3 [future]
|
0.24.3 [future]
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
- macOS: Allow kitty to handle various URL types. Can be configured via
|
||||||
|
:ref:`launch_actions`
|
||||||
|
|
||||||
- Fix a regression in the previous release that broke :opt:`active_tab_foreground` (:iss:`4620`)
|
- Fix a regression in the previous release that broke :opt:`active_tab_foreground` (:iss:`4620`)
|
||||||
|
|
||||||
- ssh kitten: Fix location of generated terminfo files on NetBSD (:iss:`4622`)
|
- ssh kitten: Fix location of generated terminfo files on NetBSD (:iss:`4622`)
|
||||||
|
|||||||
@ -102,14 +102,20 @@ lines. The various available criteria are:
|
|||||||
``image-??.png``
|
``image-??.png``
|
||||||
|
|
||||||
|
|
||||||
|
.. _launch_actions:
|
||||||
|
|
||||||
Scripting the opening of files with kitty on macOS
|
Scripting the opening of files with kitty on macOS
|
||||||
-------------------------------------------------------
|
-------------------------------------------------------
|
||||||
|
|
||||||
On macOS you can use :guilabel:`Open With` in Finder or drag and drop files
|
On macOS you can use :guilabel:`Open With` in Finder or drag and drop files and
|
||||||
onto the kitty dock icon to open them with kitty. The default action
|
URLs onto the kitty dock icon to open them with kitty. The default actions are:
|
||||||
is to open text files in your editor and images using the icat kitten.
|
|
||||||
Shell scripts are run in a shell. You can customize these actions by creating
|
* Open text files in your editor and images using the icat kitten.
|
||||||
a :file:`launch-actions.conf` file in the kitty config directory, just like
|
* Run shell scripts in a shell
|
||||||
|
* Open SSH urls using the ssh command
|
||||||
|
|
||||||
|
You can customize these actions by creating a :file:`launch-actions.conf` file
|
||||||
|
in the kitty config directory, just like
|
||||||
the :file:`open-actions.conf` file above. For example:
|
the :file:`open-actions.conf` file above. For example:
|
||||||
|
|
||||||
.. code:: conf
|
.. code:: conf
|
||||||
@ -138,3 +144,7 @@ the :file:`open-actions.conf` file above. For example:
|
|||||||
protocol file
|
protocol file
|
||||||
mime image/*
|
mime image/*
|
||||||
action launch --type=os-window kitty +kitten icat --hold $FILE_PATH
|
action launch --type=os-window kitty +kitten icat --hold $FILE_PATH
|
||||||
|
|
||||||
|
# Open ssh URLs with ssh command
|
||||||
|
protocol ssh
|
||||||
|
action launch --type=os-window ssh $URL
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user