Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added demo examples #12

Merged
merged 1 commit into from
Jul 21, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,30 @@ For the advanced users: You might have to reload your webserver and `dnsmasq`, d

When you add a new shortcut, you need to indicate to your web browser that it's not a search term. You can do this by typing it in once with just a slash. For example, if you add a shortcut `g/z` -> github.com/issmirnov/zap, if you try `g/z` right away you will get taken to the search page. Instead, try `g/` once, and then `g/z`. This initial step only needs to be taken once per new shortcut.

#### Examples

You can configure your `c.yml` file endlessly. Here are some examples to get inspire your creativity:

```
g:
expand: github.com
z:
expand: github.com/issmirnov/zap
f:
expand: facebook.com
php:
expand: groups/2204685680/
r:
expand: reddit.com/r
```

With this config, you can use the following queries:

- `g/z` -> github.com/issmirnov/zap
- `f/zuck` -> facebook.com/zuck
- `f/php` -> facebook.com/groups/2204685680/
- `r/catsstandingup` -> reddit.com/r/catsstandingup

### Additional Information


Expand Down
2 changes: 2 additions & 0 deletions c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ g:
query: search?q=
z:
expand: issmirnov/zap
r:
expand: reddit.com/r