From 068947ba7eb000a868d6e6c52d355097842c1ec7 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 3 Apr 2015 20:54:27 +0200 Subject: [PATCH] Fix search engine syntax documentation. We changed the syntax in 68398035ef4178f676d31fb2996f8fbd6793262c but didn't adjust the documentation. See #14. --- doc/help/settings.asciidoc | 2 +- qutebrowser/config/configdata.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/help/settings.asciidoc b/doc/help/settings.asciidoc index 02d9bb5dc..56cab15bb 100644 --- a/doc/help/settings.asciidoc +++ b/doc/help/settings.asciidoc @@ -1332,7 +1332,7 @@ Default: +pass:[\bprev(ious)?\b,\bback\b,\bolder\b,\b[<←≪]\b,\b(<<| == searchengines Definitions of search engines which can be used via the address bar. -The searchengine named `DEFAULT` is used when `general -> auto-search` is true and something else than a URL was entered to be opened. Other search engines can be used via the bang-syntax, e.g. `:open qutebrowser !google`. The string `{}` will be replaced by the search term, use `{{` and `}}` for literal `{`/`}` signs. +The searchengine named `DEFAULT` is used when `general -> auto-search` is true and something else than a URL was entered to be opened. Other search engines can be used by prepending the search engine name to the search term, e.g. `:open google qutebrowser`. The string `{}` will be replaced by the search term, use `{{` and `}}` for literal `{`/`}` signs. == aliases Aliases for commands. diff --git a/qutebrowser/config/configdata.py b/qutebrowser/config/configdata.py index 6807447be..fea34ab91 100644 --- a/qutebrowser/config/configdata.py +++ b/qutebrowser/config/configdata.py @@ -80,10 +80,10 @@ SECTION_DESC = { "bar.\n" "The searchengine named `DEFAULT` is used when " "`general -> auto-search` is true and something else than a URL was " - "entered to be opened. Other search engines can be used via the " - "bang-syntax, e.g. `:open qutebrowser !google`. The string `{}` will " - "be replaced by the search term, use `{{` and `}}` for literal " - "`{`/`}` signs."), + "entered to be opened. Other search engines can be used by prepending " + "the search engine name to the search term, e.g. " + "`:open google qutebrowser`. The string `{}` will be replaced by the " + "search term, use `{{` and `}}` for literal `{`/`}` signs."), 'aliases': ( "Aliases for commands.\n" "By default, no aliases are defined. Example which adds a new command "