Merge branch 'document-ctrl-l' of https://github.com/maximbaz/kitty
This commit is contained in:
commit
f941ffb1fe
@ -1002,6 +1002,11 @@ You can create shortcuts to clear/reset the terminal. For example::
|
|||||||
map kitty_mod+f12 clear_terminal scroll active
|
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`.
|
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'),
|
k('send_text', 'ctrl+shift+alt+h', 'send_text all Hello World', _('Send arbitrary text on key presses'),
|
||||||
add_to_default=False, long_text=_('''
|
add_to_default=False, long_text=_('''
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user