13

I would like to know if there is a keyboard shortcut for switching the search engine in the search bar in Firefox. The current way to do is clicking on the down arrow beside the icon, but I am looking for a quick keyboard shortcut.

Checked the Firefox help, it just has this regarding the switching of search engines in search bar.

I need this, as I need to frequently switch between Google and the internal intranet search engine.

mavis
  • 105
mtk
  • 1,157

4 Answers4

16
  1. Click at the icon
  2. Select "Manage Search Engines…"
  3. Select the search engine you want to set a shortcut for
  4. Click on "Edit keyword…"
  5. Give a shortcut, e.g. "g" for Google

Now you can type into the address bar the chosen search shortcut followed by what you like to search. Example: g weather berne.

To switch to the address bar with the keyboard, use the shortcut Ctrl+L. You could also open a new tab (Ctrl+T), because it sets the focus to the address bar automatically.


By the way: this works for nearly all search fields on any website. Just right-click on a search field and select "Add a keyword for this search…" (don't know the actual English translation). Instead of adding this search to the search widget, Firefox saves it as a bookmark.

unor
  • 3,096
6

In newer versions of Firefox, the shortcut you are looking for is Alt + Up/Down.

  • in previous versions with the old search bar it's also Alt+Up/Down. I didn't notice that this also work for the new one, because now the search engines are listed horizontally – phuclv Jul 15 '18 at 13:00
  • Confirmed this is the case, at least for firefox60esr onwards – Xavier T. Sep 04 '19 at 08:48
5

There is a shortcut for exactly this task: from the search bar, press control + Down(Next)/Up(Previous).

Akronix
  • 155
  • 1
    cntrl + Down/Up is not working anymore since version 34.0. Does anybody know how to do it now? – Akronix Dec 08 '14 at 21:55
  • 1
    Firefox 34+ can still do this if you use this addon, see this answer. – Wilfred Hughes Jan 31 '15 at 13:27
  • 1
    @WilfredHughes Thank you, but I do like the new search bar.However, I'm missing to have a shortcut again for changing from one search engine to another before to write the search phrase. The workaround it's to use the tab button once you're on the search bar and the up and down arrow keys. More info here – Akronix Feb 03 '15 at 12:57
4

You can use Ctrl+K or Ctrl+E to focus on the search bar and then use Ctrl+/ as per Akronix's answer.

Unor's method in conjunction with Ctrl+L is of course a lot faster for everyday use.

HopelessN00b
  • 1,892
Asotos
  • 173