https://github.com/fractaledmind/alfred_snippets
Simple, document-specific text snippets
https://github.com/fractaledmind/alfred_snippets
Last synced: about 1 year ago
JSON representation
Simple, document-specific text snippets
- Host: GitHub
- URL: https://github.com/fractaledmind/alfred_snippets
- Owner: fractaledmind
- Created: 2014-07-29T20:18:14.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-07-31T04:58:14.000Z (almost 12 years ago)
- Last Synced: 2025-03-30T07:22:17.235Z (about 1 year ago)
- Language: Python
- Size: 719 KB
- Stars: 12
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
alfred_snippets
===============
Simple, document-specific text snippets
### Version: 1.0
Download on Packal

Have you ever been taking notes and realized that certain terms or phrases were going to be used repeatedly? You don't have the time or really the desire to create all new TextExpander snippets for these terms or phrases, but you'd also really like to shorten your typing. That's where `Snippets` comes in. `Snippets` is a dead simple Alfred workflow that allows you to use simple snippet syntax while writing, and then seamlessly convert your text to its full glory.
The set-up is simple. As you're typing, and you realize you want to make a snippet, simply prepend your snippet with `,,` (comma comma). Then, when you get a free moment, create a "snippet dictionary" to tell Snippets what that snippet means. To create the dictionary, simply wrap it in `^^^` (triple carets). Here's an example:
```
This is an example of ,,sn. ,,sn is a fantastic workflow for ,,a!
^^^
sn: `Snippets`
a: Alfred
^^^
```
That's all there is to it. Once your dictionary is complete and you have finished typing, either copy the text to the clipboard and use the keyword `snip`, or assign a keyboard shortcut for even quicker results. When you activate `Snippets`, the text above will instantly become:
```
This is an example of `Snippets`. `Snippets` is a fantastic workflow for Alfred!
```
It's so simple. Double-comma before the snippet; dictionary wrapped in triple-carets with snippet: expanded. Nothing more, nothing less.
Hope this helps,
stephen