For a long time I was using aText for inserting snippets into documents. Unfortunately, aText becomes more and more outdated. But: Alfred has great snippet support in version 3.
Here's my collection of Alfred 3 snippets and also a script to convert aText snippets to Alfred snippets.
convert-aText-to-Alfred.py
will take an aText-exported .csv
file and create a .alfredsnippets
file from it.
The aText .csv
is a simple comma-separated list of keyword,entry,[name]
form; so the conversion script can also be used to convert an arbitrary .csv
file into a collection of Alfred snippets.
The only non-standard Python package used is Click, which is awesome.
pip install click
it!
The script is somewhat general, but mainly tailored to my needs. If you want to extend it, feel free to file a pull request or enhancement report.
My collections of snippets are only shorthands for symbols.
- Apple Symbols: ⌘, ⌥, and the likes (access via
;cmd
) - Basic Symbols: →, ⇐, and other symbols I frequently use
- Greek Letters: α, Ω, and other Greek letters (access via
;alpha
) - LaTeX Symbols: ◯, ⇓, ∇, ∫, ⋮, and other LaTeX-inspired symbols, which have Unicode equivalents (access via
;\int
) - Most Used Emoji: ⏱, and a few other Emojis, I use a lot (access via
;e:time
) - Slack Emoji: 👂, 👽, 👏, and other Emojis, which are accessible in Slack via
:emoji:
(access via;e:alien
)