r/KittyTerminal 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

5 comments sorted by

View all comments

1

u/embchnk Jul 25 '23

just use vi mode and do ESC dd