From 555efa4b70d45eda96f3ab52335ed2093a7682db Mon Sep 17 00:00:00 2001 From: pagedown Date: Wed, 17 Nov 2021 00:31:03 +0800 Subject: [PATCH] Docs: scrolling to the last jumped position --- docs/shell-integration.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/shell-integration.rst b/docs/shell-integration.rst index 04a47371a..26c6d37a5 100644 --- a/docs/shell-integration.rst +++ b/docs/shell-integration.rst @@ -91,6 +91,13 @@ following mapping in :file:`kitty.conf`: Now, pressing :kbd:`F1` will cause the output of the last jumped to command to be opened in a pager for easy browsing. +You can also add shortcut to scroll to the last jumped position. For example, +define the following in :file:`kitty.conf`: + +.. code:: conf + + map f1 scroll_to_prompt 0 + How it works -----------------