Is there keyboard shortcut to move input focus to the Google Search box?

72

16

I search on Google a lot. I find it very annoying to have to move my mouse to the search box and click once so that I can input another search term.

I did Google for some time, but no one seems to be quite as annoyed with this, surprisingly.

I'm using Firefox 8 and Chrome 16, on Windows 7.


If you know Atlassian Confluence, you might probably know that pressing / will move input focus to the upper right search box, very convenient for a keyboard shortcut hobbyist . Try it here.

Atlassian Confluence provides / as "go to search box" shortcut

EDIT:

According to slhck's statement. I tried it on several PCs(5+, including virtual machine). The strange thing is that only one of them exhibits the stated behavior. Others(I call them dumb ones) exhibit a weird behavior. Even if I select Always show instant result and save, it reverts to Only when my computer is fast enough, and the keyboard navigation still does not work.

google preference weird behavior

Poking around for some moment, I finally managed to make it work. The trick is: Select Never show instant result , save, then select Always show instant result again. Now it remains there and keyboard navigation works .

Confirmed on Chrome and Firefox, and Windows 7 IE8.

Anyway, don't you think there should be a keyboard shortcut(or any key) to jump to search box no matter instant predication is on or off?

Jimm Chen

Posted 2012-04-10T14:17:08.910

Reputation: 4 129

Is that Confluence thing just an example of how you want it to be? Are you talking about Google search in general? – slhck – 2012-04-10T14:20:02.913

1I talked about Confluence in order to show to the effect/feature I hope to have on Google's web page, --as an analogy, in case someone cannot understand what I mean. – Jimm Chen – 2012-04-10T14:51:10.597

1I am always amazed that people aren't aware of CONTROL+K. I couldn't survive for 5 minutes without it! – jahroy – 2012-11-08T02:06:31.367

/ shortcut does work to me on http://google.com webpage. – soyuka – 2014-05-26T09:36:50.750

Answers

44

Update: This does not seem to be working anymore. Press ESC to move the cursor back into Google's search box.

If you search for something in Google Search …

… just begin typing again. For example, writing "unicorns", then " magic" (that is, space, then the next keyword) will automatically focus the search box again.

Note that you need to enable instant search from your settings:

Finally, you can also press (Tab) to get a manual selection for the results – navigate through them with or , and open them with .

slhck

Posted 2012-04-10T14:17:08.910

Reputation: 182 472

@slhck I've tried your answer 3 months back, it was very helpful. now i'm using some other system. for some reason this trick isn't working for me now. IDK what's the reason is. Kindly help – Prabs – 2016-08-27T11:44:10.940

@Prabs “some other system” isn't clear to me. But in my experience, sometimes this feature simply does not work for a day or two, perhaps due to a bug in the browser or Google Search. – slhck – 2016-08-31T13:21:07.753

I mean 'in another device'. Are there any settings to let it work? – Prabs – 2016-09-01T11:58:44.843

2I've ended up on this answer because it does not work for me anymore. Is it related to the recent end of Google Instant? – Matthew – 2017-07-30T18:14:54.530

3@Matthew You're right... it does not work anymore. – slhck – 2017-07-31T07:56:54.163

Sorry, it does not work in my browser. What browser/version are you using? – Jimm Chen – 2012-04-10T14:41:12.903

1Chrome dev, but you need Google Instant enabled. Should work in any Chrome though. – slhck – 2012-04-10T15:03:36.413

it worked in firefox too, for me... – Mallik – 2012-04-10T15:05:52.950

OK. I finally confirm it, quite tricky, see EDIT in my post. – Jimm Chen – 2012-04-11T13:07:25.840

@ChenJun That's indeed weird. There's no global shortcut, but most certainly Userscripts or extensions exists to do this. – slhck – 2012-04-11T13:20:49.767

"Finally, you can also press ⇥" what is that symbol to get a manual selection? – vincent mathew – 2013-04-11T15:44:11.070

@vincentmathew That would be the "Tab". – slhck – 2013-04-11T16:35:10.700

26

Ctrl+K in Chrome not only moves your courser to the Google ommibox, but it also clears it, saving you the extra keystroke.

F6 is another way to get to omnibox, and will always work, whereas key combinations may also depend on where your mouse courser or focus is; for example, on SE, Ctrl+K is the shortcut to add code to a question or answer.

wizlog

Posted 2012-04-10T14:17:08.910

Reputation: 12 320

On Mac Chrome, Option + Cmd + F clears the address bar and precedes with "?". Press escape to cancel the clearing of address bar and show the current URL again. https://support.google.com/chrome/answer/157179?hl=en

– Baker – 2016-03-07T03:02:14.007

As I underderstand the question, "to move my mouse to the search box" means the search box in the Google.com site directly. Your answer set the focus in the Google CHROME address bar (omnibox) that can be used to search too, but it doesn't answers the question. Moving the focus to the Google website search box directly has benefits like using the previous search to add a new – Metafaniel – 2017-09-07T18:12:32.710

2

Seems like Ctrl+E is an alternative on SE :) https://support.google.com/chrome/bin/answer.py?hl=en&answer=157179

– Der Hochstapler – 2012-04-10T15:32:47.687

1Pressing Ctrl+K clears the Omnibox but leaves a question mark for some reason. – DMan – 2012-04-10T22:57:20.967

5@DMan: the question mark ensures that the text entered is to be searched, not gone to. For example (and to clarify), typing "?www.StackExchange.com" will make a Google search for "www.StackExchange.com". Its actually a really great feature when you think about it for a minute. – wizlog – 2012-04-11T05:17:08.950

@wizlog - Oh cool, I didn't know that. Will certainly save me a few keystrokes as I always hit down down a couple times after using Ctrl + L and typing in something I want to search. – DMan – 2012-04-11T05:25:42.917

20

In Google Chrome, you can press Ctrl+L to focus the address bar. This would allow you to perform a new search instantly.

In case you want to focus the search box on the actual Google website, please refer to slhck's answer.

You can also enable Instant inside Google Chrome by checking the following setting:
enter image description here

Der Hochstapler

Posted 2012-04-10T14:17:08.910

Reputation: 77 228

I might clarify that this isn't so useful for Firefox in this particular context. – Shinrai – 2012-04-10T14:36:00.073

Oh wow, seems like I completely missed the point of the question :D – Der Hochstapler – 2012-04-10T14:36:54.450

1Sorry, that's not quite the same as in-page search box. For example, I first search "ipad gps", but not satisfied with the result, then I want to append "bluetooth". If I use search box, I can just append "bluetooth", but for address bar, I have to key in "ipad gps bluetooth" from the beginning. Also, Google Instant predictions does not work from address bar. – Jimm Chen – 2012-04-10T14:46:52.147

@ChenJun I understand the solution is not sufficient, sorry. Just for your information though, you can enable Google Instant for Chrome in the settings. I'll add that to my answer. – Der Hochstapler – 2012-04-10T14:50:59.267

3@Shinrai in firefox, you can use Ctrl+K to jump to the upper right search box. – houbysoft – 2012-04-10T19:34:19.563

@houbysoft - Sure, but that's not in this answer, so I fail to see how that's relevant to my comment. :) – Shinrai – 2012-04-10T20:08:21.720

1

@Chen: But that's not how Confluence's search works. All Confluence's search page seems to do is let you re-focus an empty search box. This would be no different from searching via the address bar or via the Firefox search tool. Also, Google Instant does work in Chrome's address bar. You can also enable this in Firefox using InstantFirefox.

– Lèse majesté – 2012-04-11T09:36:32.047

Excuse me, I don't know what you mean by saying "that's not how Confluence's search works" -- maybe because I'm not a web developer. I just want to move keyboard focus onto the search box provided by the webpage by just pressing a key/key-combination instead of forcing me to use mouse. – Jimm Chen – 2012-04-11T11:51:16.887

@Chen: I was referring to your comment above where you said you wouldn't be able to append "bluetooth" to your search results. The Confluence search doesn't allow you to append new terms to your search string either. It has the key shortcut to take you to the search box, but it clears the search box after each search. So using Ctrl+L/Ctrl+K/etc. would essentially be the same. Though in the case of the search box, you can just hit End to append to the search string. – Lèse majesté – 2012-04-11T14:41:57.793

1@ChenJun When using CTRL+E, at least in IE, takes you to the address bar, and replaces the url with ? last-search which you can then modify. Chrome doesn't remember the search, at least not for me. – frozenkoi – 2012-04-11T18:30:58.443

CONTROL+K is the best approach for Firefox and Chrome. It works on all platforms (Linux, Mac, Windows). – jahroy – 2012-11-08T02:26:35.313

7

The CTRL+E shortcut works for Firefox, I.E. and Chrome (in Windows) to move the focus to the search box (well, in IE and Chrome to the address bar, clear it and start with ?, which is the same as a search box).

For Ubuntu, Firefox doesn't seem to pay attention to CTRL+E (at least not for me), but CTRL+K works.

Then depending on how you've configured your browser is the search engine that will be used to perform your search.

frozenkoi

Posted 2012-04-10T14:17:08.910

Reputation: 605

1+1 on the ? reference. Also, OP could install vimperator on firefox and just type :o <searchtext> – Lieven Keersmaekers – 2012-04-11T07:40:35.127

CONTROL-K works for Windows, Ubuntu, AND Mac (COMMAND-K)... – jahroy – 2012-11-07T19:54:12.767

@jahroy Cool. But not for all browsers. In Windows IE CTRL+K duplicates a tab. In Win. Firefox it does move to the search field. – frozenkoi – 2012-11-08T00:41:25.450

@frozenkoi - That is correct. I was responding to this: For Ubuntu, Firefox doesn't seem to pay attention to CTRL+E. Obviously there's no IE in Ubuntu (thank goodness). Either I overlooked your mention of CTRL+K or it was added/edited today. CTRL+K works for Firefox and Chrome on all platforms. CTRL+L seems to be the most universal way to get to the address bar (ALT+D doesn't always work). – jahroy – 2012-11-08T01:56:18.943

@jahroy Yeah I added your info into the answer when I saw your comment. – frozenkoi – 2012-11-08T02:58:25.227

use COMMAND+L on a mac, not COMMAND+K. That reloads Google. – Rose Perrone – 2013-03-03T17:28:57.093

7

Control+K is probably the shortcut I use the most every day.

It works for Firefox and Chrome on Linux, Windows, and Mac (use the Command key on Mac).

Control+E is the equivalent for IE.

For Safari, it's Command+Shift+F (far less convenient).

jahroy

Posted 2012-04-10T14:17:08.910

Reputation: 362

4

Pressing Esc while on a Google search cycles between selecting all of the current search text and selecting none.

Emwat

Posted 2012-04-10T14:17:08.910

Reputation: 119

This is not an answer. Please add a comment when you have enough reputation – FiveO – 2014-07-11T16:00:25.040

3I believe it is an answer: pressing the Esc button cycles between the search box and the rest of the content. – Doktoro Reichard – 2014-07-11T16:33:17.303

@DoktoroReichard Agreed. This appears to work for me so far. Nice answer. – Dog Lover – 2016-10-18T06:40:53.530

2

On a mac, COMMAND+L moves focus to the search bar

Rose Perrone

Posted 2012-04-10T14:17:08.910

Reputation: 467

2

I am a heavy Ctrl+K (and Ctrl+L) user, but this is not sufficient for this use case. Often I want to adjust my search with additional refinements. To do this what I found easiest is to use Chrome (instead of Firefox) with the so-called Vimium extension, see: http://vimium.github.io/

The key combination that brings you to the search box is gi.

Note: This is by the way not the only speed-up you get. I love their way of addressing links in the browser, just type f and you will have a few letter combinations that bring you to any link on that page. You will never go back.

Anne van Rossum

Posted 2012-04-10T14:17:08.910

Reputation: 201

2Thank you - I don't know why you have been downvoted - this is one and only proper answer here for the question formed like this. I'm adding Vimium to my toolbox :) – yatsek – 2016-11-07T16:20:03.050

1

As of 2017-07-31, Google removed this feature entirely from search.

I created the open source Web Search Navigator extension to fix this and add extra features (like configurable keyboard shortcuts).

See installation instructions.

Hope you find it useful, but in any case - feedback is welcome!

infokiller

Posted 2012-04-10T14:17:08.910

Reputation: 301

1I am using this extension and I must say it works great, you can focus search and move around the SERP very easily – Nobita – 2017-11-07T17:59:34.460

1

Since the search box in a website is not identified in a standard way across all websites, there isn't a dedicated keyboard shortcut to jump straight to it. What you'll have to do is just keep hitting Tab (or Shift+Tab to go backwards) until you end up in the search box again. These keyboard shortcuts will cycle through all the website's links and input forms.

Some search engines will let you begin typing immediately to do another search if you don't click anything else. Other than the method above, sometimes they'll code their site with some javascript that captures keyboard input. Experiment and see what the site provides.

Ben Richards

Posted 2012-04-10T14:17:08.910

Reputation: 11 662

0

For your intended use case (search, and then search again without using the mouse), you can use 'Esc' which will select the search box again so that you can type.

Andrew

Posted 2012-04-10T14:17:08.910

Reputation: 11

The initial question is "Is there keyboard shortcut to move input focus to the Google Search box?". The answer is yes: the Esc key moves focus to the Google Search box. How is that not an answer? Or did you not realize that "select the search box again" is synonymous with "move input focus to the Google Search box" in this context? – Andrew – 2016-01-16T19:42:30.773

Go to https://duckduckgo.com/ search "something", type H. That's the question all about but for Google.

– Metafaniel – 2017-09-07T18:18:47.077

0

Could might try hitting "ESC" and then just start typing; the typing will probably be appearing appended to whatever string you've already typed in the search bar. This works for me on Firefox on OSX.

Also since anything that isn't recognized as a URL is interpreted as a search on my browser (default search set to google.com), if you don't want to append to the text, but, rather, replace it entirely, then you might as well do CNTRL-L (COMMAND-L in OSX) and use the address/search bar combo in Firefox / Google Chrome.

T Sandwich

Posted 2012-04-10T14:17:08.910

Reputation: 1

Go to https://duckduckgo.com/ search "something", type H. That's the question all about but for Google.

– Metafaniel – 2017-09-07T18:19:09.447

0

I too felt the same way while using the google search box often.

There is no shortcut for such function, But there is another way for it.

You can use the method of using the mouse on the keyboard buttons with the help of mouse keys option.

Once you did this, place your cursor over the search engine box and left it untouched.

Now you can press "5" button which is the replacement of a left click in the mouse.

I hope this would be useful when you watch English movies, series (especially The Big Bang Theory) or other videos and you want to find the meaning of any word.

Vishva

Posted 2012-04-10T14:17:08.910

Reputation: 1

0

Aside from all the good answers already posted, you can always install a keyboard macro processor like AutoHotKey in Windows or AutoKey in Linux. Once you do that, you can define hot keys that do anything you can do from the keyboard (and a lot more) regardless of what the applications or Window manager provide for you.

Joe

Posted 2012-04-10T14:17:08.910

Reputation: 533

I use Autohotkey daily to to Ctrl+V paste into CMD windows etc. But I'm not very versed in it and it seems a bit overkill. Frankly speaking, Autohotkey's syntax is not very elegant and hard to remember so hard to compose. Anyway I'll be thankfull if you can present a workable Authotkey script to do that. – Jimm Chen – 2012-05-03T00:33:55.740

@JimmChen Sorry, I just know of Autohotkey. I use AutoKey on Linux. It rocks, but won't help you. – Joe – 2012-05-03T14:29:05.750

0

If I just type something, it jumps to the Google Search Box. Also Backspace moves to the Google Search Box. The spacebar does something different (it is like pushing PgDn?).

chelder

Posted 2012-04-10T14:17:08.910

Reputation: 189