Live data from Hacker News

Clear Your Terminal in Style

adammusciano.com

11–20 of 133 posts

Re: Clear Your Terminal in Style

#12

I've just used alias c=clear in my .bashrc and never looked back. Not even Ctrl+L feels as convenient as c+Enter

> Ctrl+L feels as convenient as c+Enter

I learned to hit Ctrl with my palms, and never looked back. Do you use your pinky? If so, I agree c+Enter is more convenient than ctrl+L.

Re: Clear Your Terminal in Style

#13

I've just used alias c=clear in my .bashrc and never looked back. Not even Ctrl+L feels as convenient as c+Enter

I have mapped capslock to ctrl (esc if used without modifiers) which made ctrl+L extremely comfortable for me.

I don’t quite understand why. With one hand or two?

Re: Clear Your Terminal in Style

#16

Earlier quoted context omitted.

I have mapped capslock to ctrl (esc if used without modifiers) which made ctrl+L extremely comfortable for me.

I don’t quite understand why. With one hand or two?

Now you have Ctrl on home row, instead of two rows down.

Re: Clear Your Terminal in Style

#17
I’d just settle for macOS’ Terminal.app’s ⌘-K, that resets the terminal, and clears all the screen including scroll back window. Something so basic I have it in muscle memory but I haven’t found the equivalent in Linux terminals.

Re: Clear Your Terminal in Style

#18
post #17

I’d just settle for macOS’ Terminal.app’s ⌘-K, that resets the terminal, and clears all the screen including scroll back window. Something so basic I have it in muscle memory but I haven’t found the equivalent in Linux terminals.

It's also super helpful when you want to run one command which spews out a bunch of errors, and then read the first error. Cmd-K, enter, and fling up the the trackpad. I think I'd have to pipe to less if I don't have cmd-K.

Re: Clear Your Terminal in Style

#19
post #17

I’d just settle for macOS’ Terminal.app’s ⌘-K, that resets the terminal, and clears all the screen including scroll back window. Something so basic I have it in muscle memory but I haven’t found the equivalent in Linux terminals.

Whoa, someone downstream says `reset` clears scrollback.
Post reply on HN