diff options
| author | Stephen Blott | 2015-06-01 12:52:49 +0100 | 
|---|---|---|
| committer | Stephen Blott | 2015-06-01 12:52:49 +0100 | 
| commit | bc6bde933f3d1d1ccf8bebb547fe5e83d52164b4 (patch) | |
| tree | 33da2b82e42be2c99cab5837b5cc6cb67f522109 | |
| parent | f50d3add7e6c95a5fc2945e067a52634a19c8a65 (diff) | |
| download | vimium-bc6bde933f3d1d1ccf8bebb547fe5e83d52164b4.tar.bz2 | |
Simplify searchEngines default value.
| -rw-r--r-- | lib/settings.coffee | 35 | 
1 files changed, 17 insertions, 18 deletions
| diff --git a/lib/settings.coffee b/lib/settings.coffee index 343f782a..3a89f773 100644 --- a/lib/settings.coffee +++ b/lib/settings.coffee @@ -127,24 +127,23 @@ Settings =      # default/fall back search engine      searchUrl: "https://www.google.com/search?q="      # put in an example search engine -    searchEngines: [ -      "w: http://www.wikipedia.org/w/index.php?title=Special:Search&search=%s Wikipedia" -      "" -      "# More examples." -      "#" -      "# (Vimium has built-in completion for these.)" -      "#" -      "# g: http://www.google.com/search?q=%s Google" -      "# l: http://www.google.com/search?q=%s&btnI I'm feeling lucky..." -      "# y: http://www.youtube.com/results?search_query=%s Youtube" -      "# b: https://www.bing.com/search?q=%s Bing" -      "# d: https://duckduckgo.com/?q=%s DuckDuckGo" -      "# az: http://www.amazon.com/s/?field-keywords=%s Amazon" -      "#" -      "# Another example (for Vimium does not have completion)." -      "#" -      "# m: https://www.google.com/maps/search/%s Google Maps" -      ].join "\n" +    searchEngines: +      """ +      w: http://www.wikipedia.org/w/index.php?title=Special:Search&search=%s Wikipedia + +      # More examples. +      # +      # (Vimium supports search completion Wikipedia, as +      # above, and for these.) +      # +      # g: http://www.google.com/search?q=%s Google +      # l: http://www.google.com/search?q=%s&btnI I'm feeling lucky... +      # y: http://www.youtube.com/results?search_query=%s Youtube +      # gm: https://www.google.com/maps?q=%s Google maps +      # b: https://www.bing.com/search?q=%s Bing +      # d: https://duckduckgo.com/?q=%s DuckDuckGo +      # az: http://www.amazon.com/s/?field-keywords=%s Amazon +      """      newTabUrl: "chrome://newtab"      grabBackFocus: false | 
