0

I've done a bit of reading on this, but still can't figure out a nice way to do it. It might be worth mentioning that I'm using Vimperator with Firefox.

I want to set the default Firefox address-bar search URL. I will be using a DuckDuckGo URL with some of my preferences in it (so I don't have to store a cookie).

I can make a bookmarklet and assign a keyword to it, but I cannot choose this bookmarklet as a search engine (in the search engine dropdown, or in preferences dialog.)

What I want is to be able to 't %searchterm% ENTER' to make firefox search for %searchterm% in a newtab, rather than 't %KEYWORD FOR DUCKDUCKGO% %searchterm% ENTER'

Previous methods like setting Keyword.URL are depecrated, so what do I do?

2 Answers2

1

The search engine that is currently set to default in Firefox's Search bar will also be the one used when searching in the Address bar.

There's an older SuperUser question about the same topic available here.

Kristian
  • 3,130
0

Do you need to change the search engine for Firefox’ navigation bar or for :open, :tabopen and related commands in Vimperator / Pentadactyl? They are independent from each other; the latter is set by 'defsearch' option.

Given duckduckgo as the alias for DDG (see :dialog searchengines), you have to:

:set defsearch=duckduckgo