Document how to achieve alternative behavior for Ctrl+L, ref #1113

This commit is contained in:
Maxim Baz 2018-11-03 20:29:40 +01:00
parent ce04f102a7
commit cbdba0b6aa
No known key found for this signature in database
GPG Key ID: 011FDC52DA839335

View File

@ -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=_('''