Add google-images completion
This commit is contained in:
parent
91b035eef6
commit
e24fd7ee59
|
@ -20,7 +20,7 @@ This is my personal configuration for the wonderful [SurfingKeys](https://github
|
|||
|
||||
#### Bundled Search Engine Completions
|
||||
|
||||
There are currently 40 Search Engine auto-completions.
|
||||
There are currently 41 Search Engine auto-completions.
|
||||
|
||||
You can access a Search Engine auto-completion by pressing the search leader key, which is `a` by default, followed by the search engine alias.
|
||||
|
||||
|
@ -44,6 +44,7 @@ For example, to open the Wikipedia completion, you would type `awp` while in nor
|
|||
| `ex` | `exdocs` | `hex.pm` | |
|
||||
| `gd` | `godoc` | `godoc.org` | |
|
||||
| `gh` | `github` | `github.com` | [:framed_picture:](#github) |
|
||||
| `gi` | `google-images` | `www.google.com` | |
|
||||
| `gl` | `google-lucky` | `www.google.com` | |
|
||||
| `go` | `google` | `www.google.com` | |
|
||||
| `gs` | `go-search` | `go-search.org` | |
|
||||
|
|
|
@ -612,6 +612,18 @@ completions.go.callback = (response) => {
|
|||
Omnibar.listWords(JSON.parse(response.text)[1])
|
||||
}
|
||||
|
||||
// Google Images
|
||||
completions.gi = {
|
||||
alias: "gi",
|
||||
name: "google-images",
|
||||
search: "https://www.google.com/search?tbm=isch&q=",
|
||||
compl: "https://www.google.com/complete/search?client=chrome-omni&gs_ri=chrome-ext&oit=1&cp=1&pgcl=7&ds=i&q=",
|
||||
}
|
||||
|
||||
completions.gi.callback = (response) => {
|
||||
Omnibar.listWords(JSON.parse(response.text)[1])
|
||||
}
|
||||
|
||||
// Google - I'm Feeling Lucky
|
||||
completions.gl = {
|
||||
alias: "gl",
|
||||
|
|
Loading…
Reference in New Issue