surfingkeys-conf/README.md

642 lines
28 KiB
Markdown
Raw Normal View History

<!--
NOTICE:
This is an automatically generated file - Do not edit it directly.
The source file is README.tmpl.md
-->
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge)](http://commitizen.github.io/cz-cli/)
[![Liberapay contributions](https://img.shields.io/liberapay/receives/b0o.svg?logo=liberapay&style=for-the-badge)](https://liberapay.com/b0o/donate)
Maddy's SurfingKeys Configuration
=================================
2017-08-28 03:24:24 +00:00
2018-08-09 23:45:55 +00:00
This is my personal configuration for the wonderful [SurfingKeys](https://github.com/brookhong/Surfingkeys) browser extension.
2017-08-28 03:24:24 +00:00
Its primary features include [keybindings for performing common actions](#site-specific-key-mappings) on many popular
2019-03-07 23:14:24 +00:00
sites, as well as OmniBar support for [auto-completing searches](#bundled-search-engine-completions) within 46 sites (and growing)!
Table of Contents
-----------------
1. [Site-Specific Key Mappings](#site-specific-key-mappings)
2. [Bundled Search Engine Completions](#bundled-search-engine-completions)
3. [Installation Instructions](#installation)
4. [Screenshots](#screenshots)
5. [Todo](#todo)
6. [License](#license)
Features
--------
### Site-Specific Key Mappings
2019-06-03 19:46:48 +00:00
216 key mappings for 18 unique
sites have been included which can help you perform some common actions:
<table>
<tbody>
<tr><th colspan="2"><strong>global</strong></th></tr><tr><td><strong>Mapping</strong></td><td><strong>Description</strong></td></tr>
2019-05-24 00:49:24 +00:00
<tr><td><code>F</code></td><td>Open a link in non-active new tab</td></tr>
<tr><td><code>w</code></td><td>Scroll up</td></tr>
<tr><td><code>s</code></td><td>Scroll down</td></tr>
<tr><td><code>gi</code></td><td>Edit current URL with vim editor</td></tr>
<tr><td><code>gi</code></td><td>Edit current URL with vim editor</td></tr>
<tr><td><code>gI</code></td><td>View image in new tab</td></tr>
<tr><td><code>yp</code></td><td>Copy URL path of current page</td></tr>
<tr><td><code>yI</code></td><td>Copy Image URL</td></tr>
<tr><td><code>;se</code></td><td>Edit Settings</td></tr>
<tr><td><code>gS</code></td><td>Open Chrome settings</td></tr>
<tr><td><code>&#x3D;w</code></td><td>Lookup whois information for domain</td></tr>
<tr><td><code>&#x3D;d</code></td><td>Lookup dns information for domain</td></tr>
<tr><td><code>&#x3D;D</code></td><td>Lookup all information for domain</td></tr>
<tr><td><code>&#x3D;c</code></td><td>Show Google's cached version of page</td></tr>
<tr><td><code>&#x3D;a</code></td><td>Show Archive.org Wayback Machine for page</td></tr>
<tr><td><code>;pd</code></td><td>Toggle PDF viewer from SurfingKeys</td></tr>
2019-03-10 03:28:48 +00:00
<tr><th colspan="2"><a href="//amazon.com"><img src="./assets/favicons/amazon.com.ico" width="16px"> amazon.com</a></th></tr><tr><td><strong>Mapping</strong></td><td><strong>Description</strong></td></tr>
<tr><td><code>&lt;Space&gt;fs</code></td><td>Fakespot</td></tr>
2019-05-30 06:50:33 +00:00
<tr><td><code>&lt;Space&gt;a</code></td><td>View product</td></tr>
2019-03-10 03:28:48 +00:00
<tr><th colspan="2"><a href="//behance.net"><img src="./assets/favicons/behance.net.ico" width="16px"> behance.net</a></th></tr><tr><td><strong>Mapping</strong></td><td><strong>Description</strong></td></tr>
<tr><td><code>&lt;Space&gt;s</code></td><td>Appreciate project</td></tr>
<tr><td><code>&lt;Space&gt;b</code></td><td>Add project to collection</td></tr>
<tr><td><code>&lt;Space&gt;a</code></td><td>View project</td></tr>
2019-06-03 19:46:48 +00:00
<tr><td><code>&lt;Space&gt;A</code></td><td>View project (non-active new tab)</td></tr>
2019-03-10 03:28:48 +00:00
<tr><th colspan="2"><a href="//dribbble.com"><img src="./assets/favicons/dribbble.com.ico" width="16px"> dribbble.com</a></th></tr><tr><td><strong>Mapping</strong></td><td><strong>Description</strong></td></tr>
<tr><td><code>&lt;Space&gt;s</code></td><td>Heart Shot</td></tr>
<tr><td><code>&lt;Space&gt;a</code></td><td>View shot</td></tr>
2019-06-03 19:46:48 +00:00
<tr><td><code>&lt;Space&gt;A</code></td><td>View shot (non-active new tab)</td></tr>
<tr><td><code>&lt;Space&gt;v</code></td><td>View attachment image</td></tr>
<tr><td><code>&lt;Space&gt;V</code></td><td>Yank attachment image source URL</td></tr>
<tr><td><code>&lt;Space&gt;z</code></td><td>Zoom shot</td></tr>
2019-06-03 19:46:48 +00:00
<tr><th colspan="2"><a href="//duckduckgo.com"><img src="./assets/favicons/duckduckgo.com.ico" width="16px"> duckduckgo.com</a></th></tr><tr><td><strong>Mapping</strong></td><td><strong>Description</strong></td></tr>
<tr><td><code>&lt;Space&gt;a</code></td><td>Open search result</td></tr>
<tr><td><code>&lt;Space&gt;A</code></td><td>Open search result (non-active new tab)</td></tr>
2019-03-10 03:28:48 +00:00
<tr><th colspan="2"><a href="//en.wiktionary.org"><img src="./assets/favicons/en.wiktionary.org.ico" width="16px"> en.wiktionary.org</a></th></tr><tr><td><strong>Mapping</strong></td><td><strong>Description</strong></td></tr>
<tr><td><code>&lt;Space&gt;s</code></td><td>Toggle simple version of current article</td></tr>
<tr><td><code>&lt;Space&gt;a</code></td><td>View page</td></tr>
<tr><th colspan="2"><a href="//fonts.adobe.com"><img src="./assets/favicons/fonts.adobe.com.ico" width="16px"> fonts.adobe.com</a></th></tr><tr><td><strong>Mapping</strong></td><td><strong>Description</strong></td></tr>
<tr><td><code>&lt;Space&gt;a</code></td><td>Activate font</td></tr>
<tr><td><code>&lt;Space&gt;s</code></td><td>Favorite font</td></tr>
2019-03-10 03:28:48 +00:00
<tr><th colspan="2"><a href="//github.com"><img src="./assets/favicons/github.com.ico" width="16px"> github.com</a></th></tr><tr><td><strong>Mapping</strong></td><td><strong>Description</strong></td></tr>
<tr><td><code>&lt;Space&gt;a</code></td><td>View Repository</td></tr>
<tr><td><code>&lt;Space&gt;u</code></td><td>View User</td></tr>
<tr><td><code>&lt;Space&gt;f</code></td><td>View File</td></tr>
<tr><td><code>&lt;Space&gt;i</code></td><td>View Issue</td></tr>
<tr><td><code>&lt;Space&gt;p</code></td><td>View Pull Request</td></tr>
<tr><td><code>gp</code></td><td>Go to parent</td></tr>
<tr><td><code>&lt;Space&gt;s</code></td><td>Toggle Star</td></tr>
<tr><td><code>&lt;Space&gt;S</code></td><td>Check Star</td></tr>
<tr><td><code>&lt;Space&gt;y</code></td><td>Copy Project Path</td></tr>
<tr><td><code>&lt;Space&gt;Y</code></td><td>Copy Project Path (including domain)</td></tr>
<tr><td><code>&lt;Space&gt;l</code></td><td>Toggle repo language stats</td></tr>
<tr><td><code>&lt;Space&gt;D</code></td><td>View GoDoc for Project</td></tr>
2019-03-10 03:28:48 +00:00
<tr><th colspan="2"><a href="//gitlab.com"><img src="./assets/favicons/gitlab.com.ico" width="16px"> gitlab.com</a></th></tr><tr><td><strong>Mapping</strong></td><td><strong>Description</strong></td></tr>
<tr><td><code>&lt;Space&gt;s</code></td><td>Toggle Star</td></tr>
<tr><td><code>&lt;Space&gt;y</code></td><td>Copy Project Path</td></tr>
<tr><td><code>&lt;Space&gt;Y</code></td><td>Copy Project Path (including domain)</td></tr>
<tr><td><code>&lt;Space&gt;D</code></td><td>View GoDoc for Project</td></tr>
2019-03-10 03:28:48 +00:00
<tr><th colspan="2"><a href="//news.ycombinator.com"><img src="./assets/favicons/news.ycombinator.com.ico" width="16px"> news.ycombinator.com</a></th></tr><tr><td><strong>Mapping</strong></td><td><strong>Description</strong></td></tr>
<tr><td><code>&lt;Space&gt;x</code></td><td>Collapse comment</td></tr>
<tr><td><code>&lt;Space&gt;X</code></td><td>Collapse next comment</td></tr>
<tr><td><code>&lt;Space&gt;s</code></td><td>Upvote</td></tr>
<tr><td><code>&lt;Space&gt;S</code></td><td>Downvote</td></tr>
<tr><td><code>&lt;Space&gt;a</code></td><td>View post (link)</td></tr>
<tr><td><code>&lt;Space&gt;A</code></td><td>View post (link and comments)</td></tr>
<tr><td><code>&lt;Space&gt;c</code></td><td>View post (comments)</td></tr>
2019-06-03 19:46:48 +00:00
<tr><td><code>&lt;Space&gt;C</code></td><td>View post (comments) (non-active new tab)</td></tr>
<tr><td><code>gp</code></td><td>Go to parent</td></tr>
<tr><td><code>]]</code></td><td>Next page</td></tr>
<tr><td><code>[[</code></td><td>Prev page</td></tr>
2019-03-10 03:28:48 +00:00
<tr><th colspan="2"><a href="//producthunt.com"><img src="./assets/favicons/producthunt.com.ico" width="16px"> producthunt.com</a></th></tr><tr><td><strong>Mapping</strong></td><td><strong>Description</strong></td></tr>
<tr><td><code>&lt;Space&gt;a</code></td><td>View product (external)</td></tr>
<tr><td><code>&lt;Space&gt;v</code></td><td>View product</td></tr>
<tr><td><code>&lt;Space&gt;s</code></td><td>Upvote product</td></tr>
2019-03-10 03:28:48 +00:00
<tr><th colspan="2"><a href="//reddit.com"><img src="./assets/favicons/reddit.com.ico" width="16px"> reddit.com</a></th></tr><tr><td><strong>Mapping</strong></td><td><strong>Description</strong></td></tr>
<tr><td><code>&lt;Space&gt;x</code></td><td>Collapse comment</td></tr>
<tr><td><code>&lt;Space&gt;X</code></td><td>Collapse next comment</td></tr>
<tr><td><code>&lt;Space&gt;s</code></td><td>Upvote</td></tr>
<tr><td><code>&lt;Space&gt;S</code></td><td>Downvote</td></tr>
<tr><td><code>&lt;Space&gt;e</code></td><td>Expand expando</td></tr>
<tr><td><code>&lt;Space&gt;a</code></td><td>View post (link)</td></tr>
2019-06-03 19:46:48 +00:00
<tr><td><code>&lt;Space&gt;A</code></td><td>View post (link) (non-active new tab)</td></tr>
<tr><td><code>&lt;Space&gt;c</code></td><td>View post (comments)</td></tr>
2019-06-03 19:46:48 +00:00
<tr><td><code>&lt;Space&gt;C</code></td><td>View post (comments) (non-active new tab)</td></tr>
2019-03-10 03:28:48 +00:00
<tr><th colspan="2"><a href="//twitter.com"><img src="./assets/favicons/twitter.com.ico" width="16px"> twitter.com</a></th></tr><tr><td><strong>Mapping</strong></td><td><strong>Description</strong></td></tr>
<tr><td><code>&lt;Space&gt;f</code></td><td>Follow user</td></tr>
<tr><td><code>&lt;Space&gt;s</code></td><td>Like tweet</td></tr>
<tr><td><code>&lt;Space&gt;R</code></td><td>Retweet</td></tr>
<tr><td><code>&lt;Space&gt;c</code></td><td>Comment/Reply</td></tr>
<tr><td><code>&lt;Space&gt;t</code></td><td>New tweet</td></tr>
<tr><td><code>&lt;Space&gt;T</code></td><td>Tweet to</td></tr>
<tr><td><code>&lt;Space&gt;r</code></td><td>Load new tweets</td></tr>
<tr><td><code>&lt;Space&gt;g</code></td><td>Goto user</td></tr>
2019-03-10 03:28:48 +00:00
<tr><th colspan="2"><a href="//vimeo.com"><img src="./assets/favicons/vimeo.com.ico" width="16px"> vimeo.com</a></th></tr><tr><td><strong>Mapping</strong></td><td><strong>Description</strong></td></tr>
<tr><td><code>&lt;Space&gt;F</code></td><td>Toggle fullscreen</td></tr>
2019-03-10 03:28:48 +00:00
<tr><th colspan="2"><a href="//wikipedia.org"><img src="./assets/favicons/wikipedia.org.ico" width="16px"> wikipedia.org</a></th></tr><tr><td><strong>Mapping</strong></td><td><strong>Description</strong></td></tr>
<tr><td><code>&lt;Space&gt;s</code></td><td>Toggle simple version of current article</td></tr>
<tr><td><code>&lt;Space&gt;a</code></td><td>View page</td></tr>
2019-03-10 03:28:48 +00:00
<tr><th colspan="2"><a href="//www.google.com"><img src="./assets/favicons/www.google.com.ico" width="16px"> www.google.com</a></th></tr><tr><td><strong>Mapping</strong></td><td><strong>Description</strong></td></tr>
<tr><td><code>&lt;Space&gt;a</code></td><td>Open search result</td></tr>
2019-06-03 19:46:48 +00:00
<tr><td><code>&lt;Space&gt;A</code></td><td>Open search result (non-active new tab)</td></tr>
2019-03-10 03:28:48 +00:00
<tr><th colspan="2"><a href="//yelp.com"><img src="./assets/favicons/yelp.com.ico" width="16px"> yelp.com</a></th></tr><tr><td><strong>Mapping</strong></td><td><strong>Description</strong></td></tr>
<tr><td><code>&lt;Space&gt;fs</code></td><td>Fakespot</td></tr>
2019-03-10 03:28:48 +00:00
<tr><th colspan="2"><a href="//youtube.com"><img src="./assets/favicons/youtube.com.ico" width="16px"> youtube.com</a></th></tr><tr><td><strong>Mapping</strong></td><td><strong>Description</strong></td></tr>
<tr><td><code>A</code></td><td>Open video</td></tr>
<tr><td><code>C</code></td><td>Open channel</td></tr>
<tr><td><code>gH</code></td><td>Goto homepage</td></tr>
<tr><td><code>F</code></td><td>Toggle fullscreen</td></tr>
<tr><td><code>&lt;Space&gt;</code></td><td>Play/pause</td></tr>
</tbody>
</table>
### Bundled Search Engine Completions
2019-03-07 23:14:24 +00:00
There are currently 46 Search Engine auto-completions.
2017-10-31 05:45:03 +00:00
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.
2017-08-28 03:24:24 +00:00
For example, to open the Wikipedia completion, you would type `awp` while in normal mode.
2017-08-28 03:24:24 +00:00
2019-03-10 03:28:48 +00:00
<table>
<thead>
<th colspan=2>Alias</th>
<th>Name</th>
<th>Domain</th>
<th>Screenshots</th>
</thead>
<tbody>
<tr>
<td><a href="https://bbs.archlinux.org"><img src="./assets/favicons/bbs.archlinux.org.ico" width="16px"> </a></td>
<td><code>af</code></td>
<td>archforums</td>
<td><a href="https://bbs.archlinux.org">bbs.archlinux.org</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://www.archlinux.org"><img src="./assets/favicons/www.archlinux.org.ico" width="16px"> </a></td>
<td><code>al</code></td>
<td>archlinux</td>
<td><a href="https://www.archlinux.org">www.archlinux.org</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://alternativeto.net"><img src="./assets/favicons/alternativeto.net.ico" width="16px"> </a></td>
<td><code>at</code></td>
<td>alternativeTo</td>
<td><a href="https://alternativeto.net">alternativeto.net</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://aur.archlinux.org"><img src="./assets/favicons/aur.archlinux.org.ico" width="16px"> </a></td>
<td><code>au</code></td>
<td>AUR</td>
<td><a href="https://aur.archlinux.org">aur.archlinux.org</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://wiki.archlinux.org"><img src="./assets/favicons/wiki.archlinux.org.ico" width="16px"> </a></td>
<td><code>aw</code></td>
<td>archwiki</td>
<td><a href="https://wiki.archlinux.org">wiki.archlinux.org</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://smile.amazon.com"><img src="./assets/favicons/smile.amazon.com.ico" width="16px"> </a></td>
<td><code>az</code></td>
<td>amazon</td>
<td><a href="https://smile.amazon.com">smile.amazon.com</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://craigslist.org"><img src="./assets/favicons/craigslist.org.ico" width="16px"> </a></td>
<td><code>cl</code></td>
<td>craigslist</td>
<td><a href="https://craigslist.org">craigslist.org</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://www.crunchbase.com"><img src="./assets/favicons/www.crunchbase.com.ico" width="16px"> </a></td>
<td><code>co</code></td>
<td>crunchbase-orgs</td>
<td><a href="https://www.crunchbase.com">www.crunchbase.com</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://www.crunchbase.com"><img src="./assets/favicons/www.crunchbase.com.ico" width="16px"> </a></td>
<td><code>cp</code></td>
<td>crunchbase-people</td>
<td><a href="https://www.crunchbase.com">www.crunchbase.com</a></td>
<td><a href="#crunchbase-people">:framed_picture:</a></td>
</tr>
<tr>
<td><a href="https://chrome.google.com"><img src="./assets/favicons/chrome.google.com.png" width="16px"> </a></td>
<td><code>cs</code></td>
<td>chromestore</td>
<td><a href="https://chrome.google.com">chrome.google.com</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://duckduckgo.com"><img src="./assets/favicons/duckduckgo.com.ico" width="16px"> </a></td>
<td><code>dd</code></td>
<td>duckduckgo</td>
<td><a href="https://duckduckgo.com">duckduckgo.com</a></td>
<td></td>
</tr>
2019-03-10 03:28:48 +00:00
<tr>
<td><a href="http://onelook.com"><img src="./assets/favicons/onelook.com.ico" width="16px"> </a></td>
<td><code>de</code></td>
<td>define</td>
<td><a href="http://onelook.com">onelook.com</a></td>
<td><a href="#define">:framed_picture:</a></td>
</tr>
<tr>
<td><a href="https://hub.docker.com"><img src="./assets/favicons/hub.docker.com.ico" width="16px"> </a></td>
<td><code>dh</code></td>
<td>dockerhub</td>
<td><a href="https://hub.docker.com">hub.docker.com</a></td>
<td><a href="#dockerhub">:framed_picture:</a></td>
</tr>
<tr>
<td><a href="https://domainr.com"><img src="./assets/favicons/domainr.com.ico" width="16px"> </a></td>
<td><code>do</code></td>
<td>domainr</td>
<td><a href="https://domainr.com">domainr.com</a></td>
<td><a href="#domainr">:framed_picture:</a></td>
</tr>
<tr>
<td><a href="https://www.ebay.com"><img src="./assets/favicons/www.ebay.com.ico" width="16px"> </a></td>
<td><code>eb</code></td>
<td>ebay</td>
<td><a href="https://www.ebay.com">www.ebay.com</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://hex.pm"><img src="./assets/favicons/hex.pm.ico" width="16px"> </a></td>
<td><code>ex</code></td>
<td>exdocs</td>
<td><a href="https://hex.pm">hex.pm</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://godoc.org"><img src="./assets/favicons/godoc.org.ico" width="16px"> </a></td>
<td><code>gd</code></td>
<td>godoc</td>
<td><a href="https://godoc.org">godoc.org</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://golang.org"><img src="./assets/favicons/golang.org.ico" width="16px"> </a></td>
<td><code>gg</code></td>
<td>golang</td>
<td><a href="https://golang.org">golang.org</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://github.com"><img src="./assets/favicons/github.com.ico" width="16px"> </a></td>
<td><code>gh</code></td>
<td>github</td>
<td><a href="https://github.com">github.com</a></td>
<td><a href="#github">:framed_picture:</a></td>
</tr>
<tr>
<td><a href="https://www.google.com"><img src="./assets/favicons/www.google.com.ico" width="16px"> </a></td>
<td><code>gi</code></td>
<td>google-images</td>
<td><a href="https://www.google.com">www.google.com</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://www.google.com"><img src="./assets/favicons/www.google.com.ico" width="16px"> </a></td>
<td><code>gl</code></td>
<td>google-lucky</td>
<td><a href="https://www.google.com">www.google.com</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://www.google.com"><img src="./assets/favicons/www.google.com.ico" width="16px"> </a></td>
<td><code>go</code></td>
<td>google</td>
<td><a href="https://www.google.com">www.google.com</a></td>
<td></td>
</tr>
<tr>
<td><a href="http://go-search.org"><img src="./assets/favicons/go-search.org.png" width="16px"> </a></td>
<td><code>gs</code></td>
<td>go-search</td>
<td><a href="http://go-search.org">go-search.org</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://gowalker.org"><img src="./assets/favicons/gowalker.org.png" width="16px"> </a></td>
<td><code>gw</code></td>
<td>gowalker</td>
<td><a href="https://gowalker.org">gowalker.org</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://hackage.haskell.org"><img src="./assets/favicons/hackage.haskell.org.png" width="16px"> </a></td>
<td><code>ha</code></td>
<td>hackage</td>
<td><a href="https://hackage.haskell.org">hackage.haskell.org</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://hex.pm"><img src="./assets/favicons/hex.pm.ico" width="16px"> </a></td>
<td><code>hd</code></td>
<td>hexdocs</td>
<td><a href="https://hex.pm">hex.pm</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://news.ycombinator.com"><img src="./assets/favicons/news.ycombinator.com.ico" width="16px"> </a></td>
<td><code>hn</code></td>
<td>hackernews</td>
<td><a href="https://news.ycombinator.com">news.ycombinator.com</a></td>
<td><a href="#hackernews">:framed_picture:</a></td>
</tr>
<tr>
<td><a href="https://www.haskell.org"><img src="./assets/favicons/www.haskell.org.ico" width="16px"> </a></td>
<td><code>ho</code></td>
<td>hoogle</td>
<td><a href="https://www.haskell.org">www.haskell.org</a></td>
<td><a href="#hoogle">:framed_picture:</a></td>
</tr>
<tr>
<td><a href="https://wiki.haskell.org"><img src="./assets/favicons/wiki.haskell.org.ico" width="16px"> </a></td>
<td><code>hw</code></td>
<td>haskellwiki</td>
<td><a href="https://wiki.haskell.org">wiki.haskell.org</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://hex.pm"><img src="./assets/favicons/hex.pm.ico" width="16px"> </a></td>
<td><code>hx</code></td>
<td>hex</td>
<td><a href="https://hex.pm">hex.pm</a></td>
<td></td>
</tr>
<tr>
<td><a href="http://hayoo.fh-wedel.de"><img src="./assets/favicons/hayoo.fh-wedel.de.ico" width="16px"> </a></td>
<td><code>hy</code></td>
<td>hayoo</td>
<td><a href="http://hayoo.fh-wedel.de">hayoo.fh-wedel.de</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://jquery.com"><img src="./assets/favicons/jquery.com.ico" width="16px"> </a></td>
<td><code>jq</code></td>
<td>jquery</td>
<td><a href="https://jquery.com">jquery.com</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://developer.mozilla.org"><img src="./assets/favicons/developer.mozilla.org.ico" width="16px"> </a></td>
<td><code>md</code></td>
<td>mdn</td>
<td><a href="https://developer.mozilla.org">developer.mozilla.org</a></td>
<td><a href="#mdn">:framed_picture:</a></td>
</tr>
<tr>
<td><a href="https://nodejs.org"><img src="./assets/favicons/nodejs.org.ico" width="16px"> </a></td>
<td><code>no</code></td>
<td>node</td>
<td><a href="https://nodejs.org">nodejs.org</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://www.npmjs.com"><img src="./assets/favicons/www.npmjs.com.png" width="16px"> </a></td>
<td><code>np</code></td>
<td>npm</td>
<td><a href="https://www.npmjs.com">www.npmjs.com</a></td>
<td><a href="#npm">:framed_picture:</a></td>
</tr>
<tr>
<td><a href="https://www.owasp.org"><img src="./assets/favicons/www.owasp.org.ico" width="16px"> </a></td>
<td><code>ow</code></td>
<td>owasp</td>
<td><a href="https://www.owasp.org">www.owasp.org</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://www.reddit.com"><img src="./assets/favicons/www.reddit.com.ico" width="16px"> </a></td>
<td><code>re</code></td>
<td>reddit</td>
<td><a href="https://www.reddit.com">www.reddit.com</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://stackoverflow.com"><img src="./assets/favicons/stackoverflow.com.ico" width="16px"> </a></td>
<td><code>so</code></td>
<td>stackoverflow</td>
<td><a href="https://stackoverflow.com">stackoverflow.com</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://www.onelook.com"><img src="./assets/favicons/www.onelook.com.ico" width="16px"> </a></td>
<td><code>th</code></td>
<td>thesaurus</td>
<td><a href="https://www.onelook.com">www.onelook.com</a></td>
<td><a href="#thesaurus">:framed_picture:</a></td>
</tr>
<tr>
<td><a href="https://vim.fandom.com"><img src="./assets/favicons/vim.fandom.com.ico" width="16px"> </a></td>
2019-03-10 03:28:48 +00:00
<td><code>vw</code></td>
<td>vimwiki</td>
<td><a href="https://vim.fandom.com">vim.fandom.com</a></td>
2019-03-10 03:28:48 +00:00
<td></td>
</tr>
<tr>
<td><a href="http://www.wolframalpha.com"><img src="./assets/favicons/www.wolframalpha.com.ico" width="16px"> </a></td>
<td><code>wa</code></td>
<td>wolframalpha</td>
<td><a href="http://www.wolframalpha.com">www.wolframalpha.com</a></td>
<td><a href="#wolframalpha">:framed_picture:</a><a href="#wolframalpha-2">:framed_picture:</a></td>
</tr>
<tr>
<td><a href="https://en.wikipedia.org"><img src="./assets/favicons/en.wikipedia.org.ico" width="16px"> </a></td>
<td><code>wp</code></td>
<td>wikipedia</td>
<td><a href="https://en.wikipedia.org">en.wikipedia.org</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://simple.wikipedia.org"><img src="./assets/favicons/simple.wikipedia.org.ico" width="16px"> </a></td>
<td><code>ws</code></td>
<td>wikipedia-simple</td>
<td><a href="https://simple.wikipedia.org">simple.wikipedia.org</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://en.wiktionary.org"><img src="./assets/favicons/en.wiktionary.org.ico" width="16px"> </a></td>
<td><code>wt</code></td>
<td>wiktionary</td>
<td><a href="https://en.wiktionary.org">en.wiktionary.org</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://www.yelp.com"><img src="./assets/favicons/www.yelp.com.ico" width="16px"> </a></td>
<td><code>yp</code></td>
<td>yelp</td>
<td><a href="https://www.yelp.com">www.yelp.com</a></td>
<td></td>
</tr>
<tr>
<td><a href="https://www.youtube.com"><img src="./assets/favicons/www.youtube.com.ico" width="16px"> </a></td>
<td><code>yt</code></td>
<td>youtube</td>
<td><a href="https://www.youtube.com">www.youtube.com</a></td>
<td><a href="#youtube">:framed_picture:</a></td>
</tr>
</tbody>
</table>
<!--
| Alias | Name | Domain | Screenshots |
| ----- | ---- | ------ | ----------- |
2019-03-10 03:28:48 +00:00
-->
Installation
------------
2017-08-28 03:24:24 +00:00
### Dependencies
Building `surfingkeys-conf` requires a few dependencies to be installed:
2017-08-28 03:24:24 +00:00
- __Surfingkeys__ `^0.9.40`
- __git__
- __node__
- __gulp__
2017-08-28 03:24:24 +00:00
### Building & Installing
2017-08-28 03:24:24 +00:00
1. __Clone this repository__
```shell
$ git clone http://github.com/b0o/surfingkeys-conf
$ cd surfingkeys-conf
```
2. __Install the NodeJS build dependencies__
```shell
$ npm install
```
3. __*(Optional)* Private API Key Configuration__
Some Search Engine Auto-Completions require private API keys for access. These
keys are defined in `conf.priv.js`, which is not itself included in this repository.
An example configuration containing instructions on how to generate each API key
can be found in [conf.priv.example.js](./conf.priv.example.js).
Copy the example private configuration:
2017-08-28 03:24:24 +00:00
```shell
$ cp ./conf.priv.example.js ./conf.priv.js
```
2017-08-28 03:24:24 +00:00
Open `./conf.priv.js` in your favorite editor and follow the instructions inside:
2017-08-28 03:24:24 +00:00
```shell
$ vim ./conf.priv.js
```
2017-08-28 03:24:24 +00:00
4. __Gulp Build/Install__
```shell
$ gulp install # OR "gulp build" to build to ./build/surfingkeys.js without installing
```
2017-08-28 03:24:24 +00:00
This will build the final configuration file and place it at `~/.config/surfingkeys.js`.
If you already have a file in that location, make sure you back it up first!
2017-08-28 03:24:24 +00:00
5. __Load your configuration into the SurfingKeys Extension__
<details>
<summary><strong>Option A</strong> <em>(recommended)</em>: Configure SurfingKeys to automatically load configuration file from disk</summary>
2018-08-27 07:18:02 +00:00
- __I.__ Visit [`chrome://extensions/`](chrome://extensions/) and enable `Allow access to file URLs` for the Surfingkeys extension
2018-08-27 07:18:02 +00:00
- __II.__ Open the SurfingKeys [configuration page](chrome-extension://mffcegbjcdejldmihkogmcnkgbbhioid/pages/options.html)
2018-08-27 07:18:02 +00:00
- __III.__ Set the `Load settings from` option to point to the configuration file.
_Note: you must specify the full, absolute path; environment variables like `$HOME` or the tilde `~` won't work_:
- __Linux__: `file:///home/{USERNAME}/.config/surfingkeys.js` (replace `{USERNAME}` with your username)
- __macOS__: `file:///Users/{USERNAME}/.config/surfingkeys.js` (replace `{USERNAME}` with your username)
- __Windows__: `file://%Homedrive%%Homepath%/surfingkeys.js` (This is a guess, please correct me if I'm wrong)
- __IV.__ Hack Away! If you ever make a change to any of your configuration files in the future, simply run `gulp install` again and your new configuration will automatically be loaded by SurfingKeys.
2018-08-27 07:18:02 +00:00
</details>
<details>
<summary><strong>Option B</strong>: Manually copy/paste into the SurfingKeys configuration form</summary>
2018-08-27 07:18:02 +00:00
- __I.__ Copy the contents of `./build/surfingkeys.js` (or `$HOME/.config/surfingkeys.js` if you ran `gulp install`)
2018-08-27 07:18:02 +00:00
- __II.__ Open the SurfingKeys [configuration page](chrome-extension://mffcegbjcdejldmihkogmcnkgbbhioid/pages/options.html)
2018-08-27 07:18:02 +00:00
- __III.__ Paste into the text box, then press `save`
2018-08-27 07:18:02 +00:00
- __IV.__ Repeat steps 4 & 5 after any changes you make to any of your configuration files.
2018-08-27 07:18:02 +00:00
</details>
Screenshots
-----------
2017-10-31 06:56:35 +00:00
##### crunchbase-people
![crunchbase-people screenshot](./assets/screenshots/cp.png)
2017-10-31 06:56:35 +00:00
##### define
![define screenshot](./assets/screenshots/de.png)
2017-10-31 06:56:35 +00:00
##### dockerhub
![dockerhub screenshot](./assets/screenshots/dh.png)
2017-10-31 06:56:35 +00:00
##### domainr
![domainr screenshot](./assets/screenshots/do.png)
2017-10-31 06:56:35 +00:00
##### github
![github screenshot](./assets/screenshots/gh.png)
2017-10-31 06:56:35 +00:00
##### hackernews
![hackernews screenshot](./assets/screenshots/hn.png)
2017-10-31 06:56:35 +00:00
##### hoogle
![hoogle screenshot](./assets/screenshots/ho.png)
2017-10-31 06:56:35 +00:00
##### mdn
![mdn screenshot](./assets/screenshots/md.png)
2017-10-31 06:56:35 +00:00
##### npm
![npm screenshot](./assets/screenshots/np.png)
2017-10-31 06:56:35 +00:00
##### thesaurus
![thesaurus screenshot](./assets/screenshots/th.png)
2017-10-31 06:56:35 +00:00
##### wolframalpha
![wolframalpha screenshot](./assets/screenshots/wa-01.png)
2017-10-31 06:56:35 +00:00
##### wolframalpha 2
![wolframalpha screenshot](./assets/screenshots/wa-02.png)
2017-10-31 06:56:35 +00:00
##### youtube
![youtube screenshot](./assets/screenshots/yt.png)
2017-10-31 06:56:35 +00:00
Todo
----
2017-11-17 15:49:48 +00:00
- [ ] Add `CHANGELOG.md` using [conventional-changelog](https://github.com/conventional-changelog/conventional-changelog)
2017-11-17 15:49:48 +00:00
- [ ] Improve code organization
- [ ] Ensure screenshots have a plain white background
- [ ] Add additional screenshots
- [x] Simplify installation process
2017-11-17 15:49:48 +00:00
- [x] Feed the kittens
License
-------
&copy;2017-2019 Maddison Hellstrom - MIT License