Add screen-clearing shortcuts

This commit is contained in:
Natsu Kagami 2022-10-16 17:56:14 +02:00
parent cf34bc5a91
commit 460a999d00
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51

View file

@ -36,6 +36,9 @@ with lib; {
"${cmd}+d" = "detach_window new-tab"; "${cmd}+d" = "detach_window new-tab";
## Change layout to fullscreen (stack) and back ## Change layout to fullscreen (stack) and back
"${cmd}+f" = "toggle_layout stack"; "${cmd}+f" = "toggle_layout stack";
## Clear screen
"${cmd}+backspace" = "clear_terminal to_cursor active";
"${cmd}+shift+backspace" = "clear_terminal reset active";
## Hints ## Hints
"ctrl+shift+p>n" = "kitten hints --type=linenum --linenum-action=tab kak {path} +{line}"; "ctrl+shift+p>n" = "kitten hints --type=linenum --linenum-action=tab kak {path} +{line}";
} }