Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cwhatley/helm-google
Emacs Helm Interface for quick Google searches
https://github.com/cwhatley/helm-google
Last synced: 1 day ago
JSON representation
Emacs Helm Interface for quick Google searches
- Host: GitHub
- URL: https://github.com/cwhatley/helm-google
- Owner: cwhatley
- License: gpl-3.0
- Created: 2014-12-26T17:19:50.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2022-11-14T17:57:44.000Z (about 2 years ago)
- Last Synced: 2024-11-10T18:49:31.046Z (about 2 months ago)
- Language: Emacs Lisp
- Size: 231 KB
- Stars: 1
- Watchers: 1
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# helm-google
Emacs Helm Interface for quick Google searches
## Screenshot
![screen shot](https://raw.github.com/steckerhalter/helm-google/master/screenshot.png)
## Installation
### quelpa
`quelpa` is at https://github.com/quelpa/quelpa
```lisp
(quelpa '(helm-google :fetcher github :repo "steckerhalter/helm-google"))
```### MELPA
`helm-google` is on [MELPA](http://melpa.milkbox.net/) (see there for more info).
## Configuration
`helm-google` has two methods to search for results. One is a deprecated JSON API which still works but only gives a maximum of 4 results. The other method is via scraping the html of the website.
You can configure the method via `M-x customize helm-google RET`. The default is html. If Google changes the markup this may break and you probably want to use the API.
## Usage
Call it with:
M-x helm-google
Or bind it to a key:
```lisp
(global-set-key (kbd "C-h C--") 'helm-google)
```If a region is selected it will take that as default input and search Google immediately. Otherwise it will start to search after you have entered a term. Pressing `RET` on a result calls the `browse-url` function which should open the URL in your web browser.
If you want use the internal Emacs web browser (EWW, since Emacs 24.4) you can set it as your default browser like so:
```lisp
(setq browse-url-browser-function 'eww-browse-url)
```If you want to keep the search open use `C-z` instead of `RET`.