aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2014-04-09 14:40:49 -0300
committerJorge Arellano Cid <jcid@dillo.org>2014-04-09 14:40:49 -0300
commit82625c0212ebc3706b7fcfeca8403cf593e149ab (patch)
treeb8ca6ae0b3b49762023f24ada7e4b7c7855eb8b6
parentb57b49afd73792608adc207b56272bf9026a2c78 (diff)
Comments and help text for Web search from the location bar
-rw-r--r--dillorc5
-rw-r--r--doc/user_help.html22
2 files changed, 25 insertions, 2 deletions
diff --git a/dillorc b/dillorc
index 9e13f84e..82684706 100644
--- a/dillorc
+++ b/dillorc
@@ -154,10 +154,11 @@
# Set the URLs used by the web search dialog.
# "%s" is replaced with the search keywords separated by '+'.
-# Format: search_url="[<label> ]<url>"
+# Format: search_url="[prefix ][<label> ]<url>"
# You can enable multiple search_url strings at once and select from among
# them at runtime, with the first being the default.
-search_url="DuckDuckGo http://duckduckgo.com/lite/?kp=-1&q=%s"
+# (the prefix serves to search from the Location Bar. e.g. "dd dillo image")
+search_url="dd DuckDuckGo http://duckduckgo.com/lite/?kp=-1&q=%s"
search_url="Wikipedia http://www.wikipedia.org/w/index.php?search=%s&go=Go"
search_url="Free Dictionary http://www.thefreedictionary.com/%s"
search_url="Google http://www.google.com/search?ie=UTF-8&oe=UTF-8&q=%s"
diff --git a/doc/user_help.html b/doc/user_help.html
index 1824c8ae..9de2056f 100644
--- a/doc/user_help.html
+++ b/doc/user_help.html
@@ -304,6 +304,28 @@
<table WIDTH="100%" BORDER=1 CELLSPACING=0 CELLPADDING=3>
<tr ALIGN=LEFT VALIGN=TOP><td bgcolor="wheat">
+ <h4><font color="green">Web search from the Location bar:</font></h4>
+ </td></tr>
+ <tr><td bgcolor="#70a0c0">
+ <p>
+ Besides the GUI, you can also use the location bar as a CLI for quick
+ web search. You can specify a prefix in <b><font color="#5040a0">dillorc</font></b>
+ for each search engine and use it from the location bar.
+ <p>
+ Example, in dillorc:<br>
+ <blockquote>
+ <code>search_url="dd Duckduckgo http://duckduckgo.com/lite/?kp=-1&q=%s"</code>
+ </blockquote>
+ means you can reach the location bar (CTRL+L), then type:
+ <blockquote>
+ <code>dd dillo browser</code>
+ </blockquote>
+ to web-search with Duckduckgo for the keywords: <code>dillo browser</code>.
+ </td></tr>
+ </table>
+
+ <table WIDTH="100%" BORDER=1 CELLSPACING=0 CELLPADDING=3>
+ <tr ALIGN=LEFT VALIGN=TOP><td bgcolor="wheat">
<h4><font color="green">Keyboard shortcuts:</font></h4>
</td></tr>
<tr><td bgcolor="#70a0c0">