├── Bear Hunter.alfredworkflow └── README.md /Bear Hunter.alfredworkflow: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/oderwat/BearHunter/HEAD/Bear Hunter.alfredworkflow -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Bear Hunter - Alfred 3 Workflow 2 | [![start with why](https://img.shields.io/badge/Download_Bear_Hunter-click_here-brightgreen.svg?style=flat)](https://github.com/oderwat/BearHunter/raw/master/Bear%20Hunter.alfredworkflow) [![Donate](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://www.paypal.me/oderwat/1) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) 3 | 4 | 5 | Lets you globally search for notes and use system wide hot-keys with the Bear notes taking application. 6 | 7 | ## Hot-Key 8 | 9 | There is currently just one hot-key defined. It brings Bear to the front, resets it's state and focus the search field. You need to assign the key you want to use inside of the workflow. I personally use `Command+Alt+b` for the key combination. 10 | 11 | ## The global Bear Notes Search 12 | 13 | * Use spaces to separate for any one of multiple words: 'this that'. 14 | * Use quotes to search for the phrase: '"this that"' 15 | * Use + to "require" a word: 'this +that' 16 | * Use - to "exclude" a word: 'this -that' 17 | * Use * to allow any characters in that place: #*/test (notes which have a subtag ending on test) 18 | 19 | Remember that Bear stores its notes as raw markdown like text. Use this to your advantage in searches. 20 | 21 | ### Example 1: 22 | 23 | `red yellow -green +apple` 24 | 25 | Searches for all notes which containing the words "red" or "yellow" but not the word "green". And all of them must contain the word "apple". 26 | 27 | > (red `or` yellow) `and not` green `and` apple 28 | 29 | ### Example 2: 30 | 31 | `project +#work*/client1 +"mysql"` 32 | 33 | Searches for all notes containing the words "project" and "mysql" having a tag that starts with "work" and ends with the subtag "client1" 34 | 35 | ### Example 3: 36 | 37 | `[*.j*g] [*.png] [*.gif]` 38 | 39 | Searches for all Notes containing a jpeg, gif or png image. 40 | 41 | ### Example 4: 42 | 43 | ` ```meta*saveas:*` 44 | 45 | Searches for all notes with a [BearNanny](https://github.com/oderwat/BearNanny) saved code block :) 46 | --------------------------------------------------------------------------------