1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-03 07:55:45 +01:00

added 'defsearch' setting

This commit is contained in:
Martin Stubenschrott
2007-05-01 17:29:32 +00:00
parent 297f8c2bf0
commit a4d056c583
6 changed files with 87 additions and 17 deletions

View File

@@ -76,6 +76,19 @@ var g_settings = [/*{{{*/
"sfbh",
null
],
[
["defsearch", "ds"],
["defsearch", "ds"],
"Set the default search engine",
"The default search engine is used in the <code class=command>:[tab]open [arg]</code> command "+
"if [arg] neither looks like a URL or like a specified search engine/keyword.",
"string",
function() { return [["foo", "bar"], ["shit", "blub"]]; },
function(value) { search.setDefaultEngine(value); },
function() { return search.getDefaultEngine().alias; },
"google",
null
],
[
["extendedhinttags", "eht"],
["extendedhinttags", "eht"],