index.md - sites - public wiki contents of suckless.org | |
git clone git://git.suckless.org/sites | |
Log | |
Files | |
Refs | |
--- | |
index.md (1623B) | |
--- | |
1 search engines | |
2 ============== | |
3 | |
4 Description | |
5 ----------- | |
6 | |
7 This patch allows the simple use of search engines. Put something | |
8 like this in your `config.h`: | |
9 | |
10 static SearchEngine searchengines[] = { | |
11 { "g ", "http://www.google.de/search?q=%s" }, | |
12 { "leo ", "http://dict.leo.org/ende?search=%s" }, | |
13 }; | |
14 | |
15 Then you can access each search engine by putting its prefix in front of… | |
16 keywords: | |
17 | |
18 g foo bar | |
19 | |
20 or: | |
21 | |
22 leo hello | |
23 | |
24 **Note:** tokens should end with a space to prevent matching when trying… | |
25 search for a url. Token `"g"` will match `google.com`. | |
26 | |
27 Using `" "` as your token will give you the functionality of the | |
28 [spacesearch](https://surf.suckless.org/patches/spacesearch/) patch. | |
29 | |
30 Download | |
31 -------- | |
32 | |
33 * [surf-0.3-searchengines.diff](surf-0.3-searchengines.diff) (2107) (200… | |
34 * [surf-0.4-searchengines.diff](surf-0.4-searchengines.diff) (2107) (200… | |
35 * [surf-0.7-searchengines.diff](surf-0.7-searchengines.diff) (20151219) | |
36 * [surf-git-20160127-searchengines.diff](surf-git-20160127-searchengines… | |
37 * [surf-0.7-webkit2-searchengines.diff](surf-0.7-webkit2-searchengines.d… | |
38 * [surf-git-20170323-webkit2-searchengines.diff](surf-git-20170323-webki… | |
39 * [surf-searchengines-20220804-609ea1c.diff](surf-searchengines-20220804… | |
40 | |
41 Author | |
42 ------ | |
43 | |
44 * Nils Schweinsberg (McManiaC) <[email protected]> | |
45 * Samuel Baldwin (shardz) <[email protected]> | |
46 * Alex Puterbaugh (zombine) <[email protected]> | |
47 * Ivan Tham (pickfire) <[email protected]> | |
48 * Juan Aguilar Santillana (botika) <[email protected]> | |
49 * Justinas Grigas - <[email protected]> (20220804 version) |