From 1a370ea9b60c8f6d69274ead8da7c11cdb87b5e4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 14 Apr 2022 07:59:32 +0530 Subject: [PATCH] Put the examples front and center --- docs/shell-integration.rst | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/docs/shell-integration.rst b/docs/shell-integration.rst index 2f2ab463c..22886cf7a 100644 --- a/docs/shell-integration.rst +++ b/docs/shell-integration.rst @@ -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 -command: +:code:`clone-in-kitty` command, for example: .. code-block:: sh 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 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 --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: