Hacker News new | past | comments | ask | show | jobs | submit login

> cls=clear # Yes, I started out in DOS

ctlr + l is your new best friend.




cmd + k (too)


cmd-k also clears the scrollback buffer. It's probably the single thing I miss most after moving back to linux from macOS.


You can bind Alt-K to Reset and clear in gnome-terminal's keyboard bindings.


Thank you!

My remaining minor complaint: alt-k loses the prompt.


Alt-K and Ctrl-l will solve that :)


> ctlr + l is your new best friend.

I use xterm (goes to check before I make an ass out of myself) and I'm utterly shocked this works. Amazing. Ctrl-l does indeed work.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: