Skip to content

Commit 369c548

Browse files
committed
Update README about hotkey.
1 parent 136bc4b commit 369c548

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ This workflow for [Alfred 2](http://www.alfredapp.com/) will search you snippets
1414

1515
```ALT + ENTER``` to view as Large Type.
1616

17-
You can also create a new snippet from a text selection in a application by pressing ```CTRL + ALT + CMD + S```.
17+
You can also create a new snippet from a text selection if you open the workflow and assign a hotkey to the "Selection in OS X" trigger.

src/search.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
foreach(explode(' ', $keywords) as $keyword) {
4242
if (!in_array(strtolower($keyword), array_map('strtolower', $tags)) && !stristr($name, $keyword) && !stristr($code, $keyword)) {
4343
$match = false;
44+
break;
4445
}
4546
}
4647

0 commit comments

Comments
 (0)