I do run reset
quite frequently while using GNOME Terminal. I've been trying to find a way to do (exactly) that using a shortcut. Reset and Clear
(Ctrl + K) "resets" the terminal in a similar fashion, but I have to press Enter to get a prompt back.
Is there a way to get the behavior I'm describing?
I've tried iTerm 2.x in macOS, and Ctrl + K does exactly that, so I think there has to be a way to do this in GNOME Terminal as well, since this looks like a very basic workflow that many people might use on a daily basis.
Enter
to get the prompt back. – x80486 Jan 09 '22 at 14:34'"\C-j"
for example. – schrodingerscatcuriosity Jan 09 '22 at 14:41Ctrl + k
is already bound (by default) so it takes precedence over this one. – x80486 Jan 09 '22 at 15:53