Blame view

plugins/frontend-search/README.md 2.85 KB
ed37aae5b   mj   Squashed 'repos/r...
1
  ## Introduction ##
093a6c34b   mj   Squashed 'repos/r...
2

ed37aae5b   mj   Squashed 'repos/r...
3
  > Searches for your frontend web development made easier
3de415e65   mj   Squashed 'repos/r...
4

093a6c34b   mj   Squashed 'repos/r...
5

ed37aae5b   mj   Squashed 'repos/r...
6
  ## Installation ##
093a6c34b   mj   Squashed 'repos/r...
7

ed37aae5b   mj   Squashed 'repos/r...
8
  Open your `~/.zshrc` file and enable the `frontend-search` plugin:
093a6c34b   mj   Squashed 'repos/r...
9

ed37aae5b   mj   Squashed 'repos/r...
10
11
12
  ```zsh
  
  plugins=( ... frontend-search)
093a6c34b   mj   Squashed 'repos/r...
13

093a6c34b   mj   Squashed 'repos/r...
14
  ```
3de415e65   mj   Squashed 'repos/r...
15

ed37aae5b   mj   Squashed 'repos/r...
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
  ## Usage ##
  
  You can use the frontend-search plugin in these two forms:
  
  * `frontend <context> <term> [more terms if you want]`
  * `<context> <term> [more terms if you want]`
  
  For example, these two are equivalent:
  
  ```zsh
  $ frontend angularjs dependency injection
  $ angularjs dependency injection
  ```
  
  Available search contexts are:
  
  | context       | URL                                                                      |
  |---------------|--------------------------------------------------------------------------|
  | angularjs     | `https://google.com/search?as_sitesearch=angularjs.org&as_q=`            |
  | aurajs        | `http://aurajs.com/api/#stq=`                                            |
  | bem           | `https://google.com/search?as_sitesearch=bem.info&as_q=`                 |
  | bootsnipp     | `http://bootsnipp.com/search?q=`                                         |
  | caniuse       | `http://caniuse.com/#search=`                                            |
  | codepen       | `http://codepen.io/search?q=`                                            |
  | compass       | `http://compass-style.org/search?q=`                                     |
  | cssflow       | `http://www.cssflow.com/search?q=`                                       |
  | dartlang      | `https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/dart:`  |
  | emberjs       | `http://emberjs.com/api/#stp=1&stq=`                                     |
  | fontello      | `http://fontello.com/#search=`                                           |
  | html5please   | `http://html5please.com/#`                                               |
  | jquery        | `https://api.jquery.com/?s=`                                             |
  | lodash        | `https://devdocs.io/lodash/index#`                                       |
  | mdn           | `https://developer.mozilla.org/search?q=`                                |
  | npmjs         | `https://www.npmjs.com/search?q=`                                        |
  | qunit         | `https://api.qunitjs.com/?s=`                                            |
  | reactjs       | `https://google.com/search?as_sitesearch=facebook.github.io/react&as_q=` |
  | smacss        | `https://google.com/search?as_sitesearch=smacss.com&as_q=`               |
  | stackoverflow | `http://stackoverflow.com/search?q=`                                     |
  | unheap        | `http://www.unheap.com/?s=`                                              |
  
  If you want to have another context, open an Issue and tell us!
3de415e65   mj   Squashed 'repos/r...
57

093a6c34b   mj   Squashed 'repos/r...
58
59
60
61
  
  ## Author
  
  **Wilson Mendes (willmendesneto)**
3de415e65   mj   Squashed 'repos/r...
62
  + <https://plus.google.com/+WilsonMendes>
093a6c34b   mj   Squashed 'repos/r...
63
64
  + <https://twitter.com/willmendesneto>
  + <http://github.com/willmendesneto>