top | item 36667268

(no title)

tonylemesmer | 2 years ago

My favourite find of the past 12 months is Ctrl+L which gives the address bar focus so you can begin typing.

discuss

order

arrakeen|2 years ago

i am stunned that folks didn't know about this since i've been using this shortcut hundreds of times a day for at least 20 years. i guess the moral of the story is that browser vendors really need to make it easier to discover the useful features that are buried in documentation

benplumley|2 years ago

F6 works too, and you can press it again to unfocus it (TIL)

chimprich|2 years ago

> and you can press it again to unfocus it

That is useful! Wonder why Ctrl-l and alt-d don't work like that?

guptarohit|2 years ago

Welcome to the club!

The day I knew about it and till know I don’t think I ever clicked in search bar to search.

This shortcut is very helpful!

In similar context, Ctrl+w for closing tab.

efreak|2 years ago

Ctrl+F4, Ctrl+W close tab Alt+F4 close window Ctrl+(Shift+?)+Q close browser entirely Ctrl+Shift+T undo close tab Ctrl+Shift+N undo close window Ctrl+N new window Ctrl+Shift+P new private window Ctrl+B toggle bookmarks bar Ctrl+Shift+B open library (bookmarks window) Ctrl+H open history in side pane Ctrl+Shift+H open library (history window) Ctrl+G, F3 find again Ctrl+Shift+G, Shift+F3 find previous Ctrl+Shift+V paste as plain text Ctrl+Shift-Z redo Alt+Entry in address bar opens address in new tab

See also: https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perf... https://support.mozilla.org/en-US/kb/mouse-shortcuts-perform... https://firefox-source-docs.mozilla.org/devtools-user/keyboa...

penguin_booze|2 years ago

Some browser-based editors will helpfully offer Vim bindings for editing, without exhaustively emulating all bindings. Of course, once in the flow of editing, I type Ctrl+W to delete a word, and voila, the tab closes!

nashashmi|2 years ago

Alt F4 is for duplicating the window with all of its tabs. /s

vladxyz|2 years ago

One finger over, and you've got Ctrl+K to focus search bar (if you have it enabled. Becomes default-search-engine-search in the address bar, if not).

sphars|2 years ago

Huh, didn't know about Ctrl+L, I've always used Alt+D for address bar focus.

fivre|2 years ago

Alt-d is superior, since it's a left-hand shortcut!

Even though the keys _are_ there I have no muscle memory for the modifiers on my right hand.

tonylemesmer|2 years ago

wow - now we have 3 shortcuts for the same thing!

IIsi50MHz|2 years ago

I'd almost forgotten about Ctrl-L. I used to use it all the time on Celeron work computers with IE, because I could open the browser, type Ctrl-L and an address, and press Enter before the toolbar finished drawing. I wouldn't even see what I had typed appear before the page I requested started loading! Think I also used it with Windows Explorer, after the IE integration…

KSecurityK|2 years ago

While doing a search in search engine you can use `/` to go to the search bar, this also works in YouTube.

In Firefox use this for quick find on the page

atom058|2 years ago

I dislike shortcuts with special characters, as its availability depends on the keyboard layout. It's quite common that the shortcut doesn't work when you have to use modifier keys to invoke it.

Some vendors make an effort to support non-US layouts, others not so much (e.g Adobe, and recently Microsoft).

As a shortcut junkie, I've even changed the OS keyboard layout to enable more shortcuts to work, and memorising the location of special characters by feel. But that's not exactly an intuitive UX.

As some examples of shortcut keys that usually brings me dread are: /, ~, [, ], ;, |

I much prefer shortcuts in the form of "ctrl + letter"

thesuitonym|2 years ago

FYI, CTRL+L actually works in a lot of contexts. Chrome, Windows Explorer, Dolphin, Slack, and probably many others!

quikoa|2 years ago

I'm using alt+d what I like about that shortcut is that's on the left side and the keys are close to each other.

ris58h|2 years ago

It's not possible to focus back which is a bummer.

kbrosnan|2 years ago

You can use F6 to focus the address bar. With it focused F6 will return focus to web content.

asadotzler|2 years ago

Alt D (from IE) also works. Ctrl L is Netscape legacy.