Skip to content

Latest commit

 

History

History
79 lines (42 loc) · 2.88 KB

README.md

File metadata and controls

79 lines (42 loc) · 2.88 KB

Alfred 2 Workflow for Google Search

Alfred2 workflow for google search suggestion, instant search, site search, related search, etc.

workflow

Usage

1. Search Suggestion

Keyword g: provide google search suggestions based on {query}.

2. Instant Search

Keyword gi: get instant google search results in Alfred based on {query}.

3. Site Search

Keyword gs: get instant google search results of front browser's site in Alfred based on {query}.

Supported browsers are: Safari, Google Chrome, Opera, OmniWeb, etc.

You can use site:example.com query if you do not want to search for current front browser's site.

For example, open safari with github.com, type gs alfred2 workflow to find related projects hosted in github.

site search

4. Related Search

Keyword related: get related google search results of front browser's site in Alfred based on {query}.

Supported browsers are: Safari, Google Chrome, Opera, OmniWeb, etc.

You can use related:example.com query if you do not want to search for current front browser's site.

Tips

  1. shift key to preview website.

Installation

Two ways are provided:

  1. You can download the Google.alfredworkflow and import to Alfred 2. This method is suitable for regular users.

  2. You can git clone or fork this repository and use rake install and rake uninstall to install and uninstall. This method create a symlink to the alfred workflow directory: "~/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows". This method is suitable for developers.

Reference

  1. Site Search Workflow for Alfred 2
  2. Google Search in-line results workflow

Copyright

Copyright (c) 2013 Zhao Cai [email protected]

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.