diff --git a/kitty/config_data.py b/kitty/config_data.py index 3234abf63..426c94a7b 100644 --- a/kitty/config_data.py +++ b/kitty/config_data.py @@ -1002,6 +1002,11 @@ You can create shortcuts to clear/reset the terminal. For example:: map kitty_mod+f12 clear_terminal scroll active If you want to operate on all windows instead of just the current one, use :italic:`all` instead of :italic`active`. + +It is also possible to remap Ctrl+L to both scroll the current screen contents into the scrollback buffer +and clear the screen, instead of just clearing the screen:: + + map ctrl+l combine : clear_terminal scroll active : send_text normal,application \x0c ''')) k('send_text', 'ctrl+shift+alt+h', 'send_text all Hello World', _('Send arbitrary text on key presses'), add_to_default=False, long_text=_('''