From 3e3dc26e3f27c1992e8a2ded44761e8fbf4b7f7f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 18 Nov 2021 08:50:43 +0530 Subject: [PATCH] Dont duplicate help text --- kitty/options/definition.py | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/kitty/options/definition.py b/kitty/options/definition.py index 4f2a81680..d4d212e63 100644 --- a/kitty/options/definition.py +++ b/kitty/options/definition.py @@ -3006,19 +3006,12 @@ map('Scroll to bottom', map('Scroll to previous shell prompt', 'scroll_to_previous_prompt kitty_mod+z scroll_to_prompt -1', long_text=''' -Requires :ref:`shell_integration` to work. +Use a parameter of zero for :code:`scroll_to_prompt` to scroll to the last jumped +to or the last clicked position. Requires :ref:`shell_integration` to work. ''' ) -map('Scroll to next shell prompt', - 'scroll_to_next_prompt kitty_mod+x scroll_to_prompt 1', - long_text=''' -When the parameter is zero, scroll to the last jumped position, or the last clicked position by -command output related mouse actions. - -Requires :ref:`shell_integration` to work. -''' - ) +map('Scroll to next shell prompt', 'scroll_to_next_prompt kitty_mod+x scroll_to_prompt 1') map('Browse scrollback buffer in pager', 'show_scrollback kitty_mod+h show_scrollback',