Put the examples front and center

This commit is contained in:
Kovid Goyal 2022-04-14 07:59:32 +05:30
parent cc07b1f79d
commit 1a370ea9b6
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -223,11 +223,13 @@ Clone the current shell into a new window
----------------------------------------------- -----------------------------------------------
You can clone the current shell into a new kitty window by simply running the You can clone the current shell into a new kitty window by simply running the
command: :code:`clone-in-kitty` command, for example:
.. code-block:: sh .. code-block:: sh
clone-in-kitty clone-in-kitty
clone-in-kitty --type=tab
clone-in-kitty --title "I am a clone"
This will open a new window running a new shell instance but with all This will open a new window running a new shell instance but with all
environment variables and the current working directory copied. This even environment variables and the current working directory copied. This even
@ -242,13 +244,6 @@ are ignored: :option:`launch --allow-remote-control`, :option:`launch
--allow-remote-control`, :option:`launch --stdin-source`, :option:`launch --allow-remote-control`, :option:`launch --stdin-source`, :option:`launch
--marker` and :option:`launch --watcher`. --marker` and :option:`launch --watcher`.
Some examples:
.. code-block:: sh
clone-in-kitty --type=tab
clone-in-kitty --title "I am a clone"
.. _manual_shell_integration: .. _manual_shell_integration: