Merge branch 'document-ctrl-l' of https://github.com/maximbaz/kitty

This commit is contained in:
Kovid Goyal 2018-11-04 10:04:39 +05:30
commit f941ffb1fe
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

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