On 2016-09-23 02:12, Carel Combrink wrote:
Using https://duckduckgo.com as my search engine helps a lot along
with their bangs <https://duckduckgo.com/bang>.
The !qt bang normally opens the search in the Qt 5 docs, for example
searching for `!qt QString <https://duckduckgo.com/?q=!qt+QString>`
opens http://doc.qt.io/qt-5/search-results.html?q=QString
Most of the times I use the normal ! bang with the Qt version
specified to directly open a page that I am interested in. Thus a
search for `!qt 5 QString` opens http://doc.qt.io/qt-5/QString.html
Another example: https://duckduckgo.com/?q=!+qt+5+qgraphicsitem
Firefox/Chrome tip: a Saved Search is even better (direct, native):
- Firefox: Bookmarks -> Show All Bookmarks -> Organize -> New Bookmark
Name: Qt search (or whatever you want)
Location: https://google.com/search?q=site:doc.qt.io%2fqt-5+%s
Keyword (the important part): qt-5
- Chrome: Settings -> Manage search engines -> Other -> Add
Name: Qt search (or whatever you want)
Keyword (the important part): qt-5
URL: https://google.com/search?q=site:doc.qt.io%2fqt-5+%s
The trick is that "%s" will be replaced by what is after the keyword.
That way, just CTRL-L, type qt-5, the spacebar, followed by your search,
and you'll search the qt5 web "namespace" :)
I have tons of saved searches letting me search exactly what I want:
- Wikipedia: https://en.wikipedia.org/w/index.php?search=%s
- French Wikipedia: https://fr.wikipedia.org/w/index.php?search=%s
- GMaps: https://maps.google.ca/maps?f=q&hl=en&q=%s
- GMaps in my city:
https://maps.google.ca/maps?f=q&hl=en&q=%s,%20Montreal%20QC
- Arch wiki:
https://wiki.archlinux.org/index.php?title=Special%3ASearch&search=%s
- Arch pkgs: https://www.archlinux.org/packages/?arch=any&arch=x86_64&q=%s
- Etc etc etc... any urlencoded search can be made a saved search :)
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest