DEV Community

Discussion on: My Productivity Boosters — A random collection of tricks and tools — What are yours?

Collapse
 
fabrik42 profile image
Christian Bäuerlein

Thanks! I use Spacemacs/Emacs as an editor and yasnippet (joaotavora.github.io/yasnippet/) as a snippet tool for it, but I don’t use one outside of Emacs. I tried it in Alfred for some time, but it never stuck with me.

I use the Workflow app on mobile to prefill DayOne journal entries though.

I am curious: What do you use snippet tools for?

Collapse
 
craser profile image
Chris Raser

TextExpander does the usual snippet expansion stuff, which is great. But what puts it on another level is that the expansion doesn't have to be static. Instead of plain text, I can tell TextExpander to run a bash script and emit the output. I use this to quickly fetch ticket titles from Jira, parse Velocity template files and emit boilerplate code to call them, etc.

And I'm a recreational cyclist, so I use it to ease the pain of typing the notation for the workouts I sometimes do.

If you're interested in a bit more detail, I did a short write up here on dev.to a while back.

Thread Thread
 
fabrik42 profile image
Christian Bäuerlein

Good articles, thanks for sharing! TextExpander is mightier than I thought, seems like a useful tool! 🤔