Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What does ⌘Cmd + L do? #35

Closed
rosetree opened this issue Jan 5, 2017 · 13 comments
Closed

What does ⌘Cmd + L do? #35

rosetree opened this issue Jan 5, 2017 · 13 comments

Comments

@rosetree
Copy link

rosetree commented Jan 5, 2017

I accidentally typed ⌘Cmd + L in my Mac-Terminal and it seemed to delete the output of the previous command. I'm not sure how this shortcut is defined or where I can look it up. Does anybody have an idea?

@ogirginc
Copy link

Are you sure it wasn't ⌘Cmd+K, as both keys are next to each other? As far as I know, there isn't a default shortcut for ⌘Cmd+L.

@0nn0
Copy link
Owner

0nn0 commented May 25, 2017

Not aware that the shortcut ⌘Cmd+L exists either.

@0nn0 0nn0 closed this as completed May 25, 2017
@rosetree
Copy link
Author

Please excuse my late reply. I double checked, that I used ⌘Cmd+L and not ⌘Cmd+K. I also looked up my custom keyboard commands in the profile settings. But ⌘Cmd+L was not defined there (similar to ⌘Cmd+K or others). So I would argue that this is a default behavior. I’m using Terminal Version 2.7.2 (388.1).

@0nn0
Copy link
Owner

0nn0 commented May 29, 2017

@rosetree: Just tried it in the Terminal and you are right! It seems that ⌘Cmd+L removes the previously executed command. Can you confirm that?

@0nn0 0nn0 reopened this May 29, 2017
@rosetree
Copy link
Author

Thanks for your reply. This is also how I would describe this command. It removes the output and the prompt. But not the history entry.

@0nn0 0nn0 closed this as completed Sep 18, 2017
@cduguet
Copy link

cduguet commented Jan 4, 2018

Did you guys figure out how to bring it back???

@ugurcemozturk
Copy link

Well, so give it a try to ⌘Cmd+Alt+L. Removes the whole universe.

@HoseynHeydari
Copy link

⌘Cmd+Alt+L , ⌘Cmd+L , ⌘Cmd+K
all seems the same for me.
@ugurcemozturk What do you mean by "whole universe" please?

@snez
Copy link

snez commented May 28, 2019

Confirmed ⌘Cmd+Alt+L removes the whole universe :(

@dbajpai29
Copy link

clear==⌘Cmd+Alt+L

@ShivamPokhriyal
Copy link

Is there an alternative of Cmd+L for linux?

@alecglen
Copy link

FYI, under "Edit" ⌘Cmd+L is labelled as "Clear to Previous Mark"

@TonyBarganski
Copy link

Very disconcerting, especially when in a bunch of tmux panes.
Fortunately, pressing in each panes/window brings everything back - phew! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests