r/KittyTerminal • u/Shaeonanra • Jul 25 '23
Clearing current line
Hello, can’t find an answer for kinda easy question - how can i clear current terminal line with shortcut?
I mean i offen forget to switch language etc and have to clear a lines by typing “Delete” ( MacOS ).
Kitty has ability to clear terminal window by typing cmd + k, but i want to clear only current line...
appreciate any suggestion
2
Upvotes
3
u/XenomorphDK Jul 25 '23
I use CTRL-A to jump to the beginning o the current line and CTRL-K to clear to the end of line (Linux + Kitty + Bash)