Common fallback searches for Zazu.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
test
.gitignore
.nvmrc
.travis.yml
http.js
package.json
prefix.js
readme.md
root.js
searches.js
yarn.lock
zazu.json

readme.md

Zazu Fallback

Build Status

Creates some great fallback / web search functionality for Zazu.

Usage

Prefixed Searches

If you want to search a specific place like npm, DuckDuckGo or Wikipedia you can type that prefix directly into zazu and off you go!

Available searches can be found below.

Root Searches

For commonly searched sites you would rather avoid typing in a prefix, because that's more typing! I'm glad we're on the same page. If you use one or more of these search enginges frequently you can turn on root level searches. If you tell us which sites you use often, we'll display the results even without the prefix!

For example if you tell us npm and gh are searched frequently and you type pryjs into zazu, we'll give you a link to search both of those websites!

URL Pasting

If you have a URL in your clipboard, or want to type one out, feel free to paste it into Zazu and we'll give you an inline link. This is great if your browser isn't open yet.

Installing

Add the package to your plugins array in ./zazurc.json.

"tinytacoteam/zazu-fallback"

You can also define custom searches:

{
  "name": "tinytacoteam/zazu-fallback",
  "variables": {
    "prefixSearches": {
      "library": {
        "icon": "fa-book",
        "name": "Library",
        "url": "https://multcolib.org/search/site/"
      }
    }
  }
}

To setup your prefered searches add a variable called rootSearches:

{
  "name": "tinytacoteam/zazu-fallback",
  "variables": {
    "rootSearches": ["google", "library"]
  }
}

Searches

Screenshot

screenshot