r/apple•
ihavenomp

In Chrome, Safari: ⌘L, ^L = ???

Works with any text selected in the URL bar or search bar. It works on Chrome and Safari but not Firefox. What is this? The only info I found was at superuser.com. A reply points to system bindings, saying that it "centers text in multi-line fields". I tried it in a Gmail letter, didn't do anything. I tried it in TextEdit and it had the same effect as Chrome and Safari and it didn't center the text in any way. Also tried adding lines after the text I selected to see if that affected it but it didn't.

So what is that effect? Is it just what the other reply said, to "help you figure out which input box is selected"?

Posted Jun 10, 2011, 5:14 PM UTC

06
boazs•

The Cocoa text system, which is used by TextEdit and most text fields, implements a subset of Emacs (a unix programmer's editor) key bindings. Ctrl-L in emacs centers the view around the current selection. In Cocoa, it does the same thing, but it also blinks any selected text. If you open a fairly large text file in TextEdit, select some text and then scroll so it's offscreen, it'll be easier to see what exactly it's doing. It's main function is to scroll the text so the cursor or selection is centered in the visible area.

2
hyperduc•

Cmd-L is to highlight the address bar and quickly type a website.

I think that's what you are asking, but your post is confusing and I don't know exactly what you want.

1
ihavenompOP•

Sorry I wasn't more clear, I was at work and tried to be concise but I guess I missed being thorough. Also, I'm a little inexperienced as a Mac user, but isn't ^ the symbol for the control key? I meant to say, first hit Command+L then hit Control+L, or first select all or some of the text in your url or search bar then press Control+L and see what happens.

1
jayratch•

Still not helping. Can you explain it in a way that makes sense to people who happen to not be sitting in front of a Mac at the moment?

1
Calpa•

After pressing cmd+l and ctrl+l the text in the adressbar wil slightly popup in yellow; just like when searching something in safari/preview.. but it happens in Chrome.

Edit: oh, boazs already explained it correctly I think.

2
afranke•

Apple says "Control-L Center the cursor/selection in the visible area" and Chrome doesn't seem to have any shortcuts that use the Control key: http://www.google.com/support/chrome/bin/static.py?page=guide.cs&guide=25799&topic=28651

1