Custom search engines
I highly recommend setting up search keywords in your browser.
Setup
Firefox
The things called "Search shortcuts" in Firefox are browser extensions and there is no generic one, so the actual solution is to add bookmars with keywords.
- Add a bookmark (Ctrl+Shift+O or Menu > Bookmarks > Manage, then Organize > Add bookmark)
- Set the name to whatever you'll recognize: I believe you'll only see it when sorting through bookmarks.
- Set the link: anything containing
%s
, likehttps://www.google.com/search?hl=en&q=%s%20site%3Acppreference.com
– the%s
is what will get replaced by your query. - Set the keyword: this is what you'll type in the address bar, then space, then your query, to call the search engine.
Chrome
- Settings > Manage search engines > Add
- Set the search engine name, link, keyword same as above.
My list
c
C++ referencehttps://en.cppreference.com/w/Special%3ASearch?search=%s
man
Linux manualhttp://www.die.net/search/?q=%s
-
p
Python docshttps://google.com/search?q=site%3Adocs.python.org+%s
-
j
Java (SE and JDK) referencehttps://google.com/search?q=site%3Ahttps%3A%2F%2Fdocs.oracle.com%2Fen%2Fjava%2Fjavase%2F17+%s
-
s
Google Scholarhttp://scholar.google.com/scholar?q=%s
-
dblp
DBLPhttp://dblp.uni-trier.de/search?q=%s
-
g
Googlehttps://google.com/search?q=%s
-
gi
Google Imageshttps://images.google.com/search?q=%s
-
w
English Wikipediahttps://en.wikipedia.org/wiki/Special:Search?search=%s
-
wp
Polish Wikipediahttps://pl.wikipedia.org/wiki/Special:Search?search=%s
-
d
English Wiktionaryhttps://en.wiktionary.org/w/index.php?title=Special:Search&search=%s
-
dp
Polish Wiktionaryhttps://pl.wiktionary.org/w/index.php?title=Special:Search&search=%s
-
t
Thesaurushttp://thesaurus.com/browse/%s
-
l
Ling.pl dictionaryhttps://ling.pl/%s
-
a
Wolfram|Alphahttps://www.wolframalpha.com/input/?i=%s
-
y
YouTubehttps://www.youtube.com/results?search_query=%s
-
ww
English Wikipedia – internal stuff (docs, user/talk pages, ...)https://en.wikipedia.org/w/index.php?search=%s&fulltext=1&ns2=1&ns3=1&ns4=1&ns5=1&ns8=1&ns9=1&ns10=1&ns11=1&ns12=1&ns13=1&ns100=1&ns101=1
...