smithtimmytim/brightlycolored.org

View on GitHub
_posts/2017-02-06-my-favorite-textexpander-snippets.markdown

Summary

Maintainability
Test Coverage
---
title: My Favorite TextExpander Snippets
date: 2017-02-06 08:57:00 -06:00
tags:
- automation heaven
- automation
subtitle: Let's begin exploring automation with these simple and helpful keyboard
  shortcuts
custom_type: post
---

*This post is part of a series on [creating automation heaven](/topics/#automation-heaven).*

---

One of the reasons I love technology is tinkering with it to make my life easier. I'm constantly automating tasks so I can either do them faster, or not have to worry about them at all. I felt writing a series on automation would be a lot of fun, not only because I *love* to geek out about stuff like this, but it might also be helpful to you.

For our first exploration into automation, we'll start with [TextExpander][6508-0001]. For those of you who don't know, TextExpander is an app that expands custom keyboard shortcuts into text or images. For example, you could type `;home`, and it would expand into your full home address. A simple example, but I'm sure you can see how helpful it would be over time.

What's greater, I can use TextExpander anywhere: on my Mac, iPad, and iPhone. Heck, TextExpander is on Windows too. With that in mind, I'd love to share some of my favorite TextExpander snippets.

## Day One

[Day One][6508-0002] is an excellent journaling app. I love to keep a daily journal, as well as movie and restaurant reviews. In fact, together with [IFTTT][6508-0003] I automatically import Swarm check-ins and Instagram Photos, but that's for another article.

By typing `;foodreview`, I get a form that asks me if I'd go back, how pricey the restaurant was, who I went with, what I ordered, and a general summary.

<figure class="alignleft">
  <img src="{{ site.url }}/uploads/2017/02/restaurant-review-snippet.jpg" alt="Ever go back to a restaurant you really liked, but don't remember what you ordered? No longer!">
  <figcaption>Ever go back to a restaurant you really liked, but don't remember what you ordered? No longer!</figcaption>
</figure>

My movie review snippet is similar. By typing `;moviereview`, I easily log movies I've watched. Some of those movies end up getting their own [brief review](/topics/#brief-review) here on *The Bold Report*, but for those that don't, my thoughts are recorded somewhere. [This one was originally made by David Sparks](https://www.macsparky.com/blog/2013/9/textexpander-snippets-media-review), but I modified it and formatted a few things in Markdown.

<figure class="alignright">
  <img src="{{ site.url }}/uploads/2017/02/movie-review-snippet.jpg" alt="I watch a lot of movies, so giving these reviews some structure is very helpful">
  <figcaption>I watch a lot of movies, so giving these reviews some structure is very helpful.</figcaption>
</figure>

My last Day One snippet is an end of the day summary. I downloaded this snippet from [Chuck Grimmett](http://cagrimmett.com/2015/12/02/five-minute-journal-textexpander.html) and modified them for my use. I only do this once a day in the evening and it helps me remember key things that happened that day. A little reflection each day feels healthy to me, and reminds me there is so much to be grateful for.

<figure class="alignleft">
  <img src="{{ site.url }}/uploads/2017/02/five-minute-journal-snippet.jpg" alt="This is so easy to fill out, and helps me reflect on the day">
  <figcaption>This is so easy to fill out, and helps me reflect on the day</figcaption>
</figure>

[Download my Day One snippets](https://app.textexpander.com/public/0d970e960bbcf44b686e84e06dd918a4).

## Jekyll

For all the work that I do with [Jekyll][6508-0004], you might be shocked to hear that I only have one snippet in this category. I probably need more, but I haven't figured them out yet. The one I do have though, is `;jdate`. This simple snippet expands into the date format needed in Jekyll posts, which looks like this:

```yaml
# YEAR-MONTH-DAY HOUR:MINUTE (using the 24 hour clock)
date: 2017-02-03 12:39
```

This one snippet has saved me hours in the now 3 years I've been using it! I don't have to remember the format, think about what the date is, or remember how you write four o'clock in the 24 hour clock.

## Special Characters

TextExpander publishes [Public Groups](https://textexpander.com/publicgroups) which you can subscribe to, and one of them is Accented Words. For example, I can type `cafe'` and it'll expand into café. I write Spanish occasionally, so I've added some common used words with accents so I don't have to worry about them.

Another use for this group is making it easier to type out modifier key symbols. Let's say you wanted to write out ⌘⇧W. It's a pain to remember how to type those characters, and I found myself having to Google search, then copy pasting them over and over. With TextExpander, I've matched each character with its own shortcut. `;command`, `;shift`, `;option`, and `;control`, all expand to the ⌘, ⇧, ⌥, and ⌃ symbols.

## Code

When it comes to writing code, autocompletion has come a long way. I had to whiteboard a week ago, and realized I'm useless without my code editor. [Atom][6508-0005] autocompletes everything for me. [Emmet][6508-0006] is a huge help too. *However*, the one coding snippet I use is to create a comment block in SCSS. By typing `;bcomm`, it expands into this:

```scss
// -------------------------------
// SECTION NAME HERE
// -------------------------------
```

It helps me keep my comment style consistent, and saves me time.

## General

My general snippets group is usually where I put snippets that don't belong in any of my other groups. Like `:shrug:` which expands into `¯\_(ツ)_/¯`. For some reason, I seem to use this one a lot. Mostly to answer questions like "What should we do for dinner?" It drives Kelly nuts.

I also have one for 🖖🏼 (probably my most used emoji), which is just `:spock:`. Snippets for my email address and phone number are extremely useful too. You'd be shocked by how much you have to type those last two.

## Conclusion

These are just *some* of my uses for TextExpander. The possibilities are endless, and I hope you see the ways you'd use it.

If you enjoyed this post and would like to talk more about TextExpander, have questions, or share all the cool ways you use it, [send an email to tim@theboldreport.net](mailto:tim@theboldreport.net).

[6508-0001]: https://smilesoftware.com/textexpander
[6508-0002]: http://dayoneapp.com
[6508-0003]: https://ifttt.com/
[6508-0004]: http://jekyllrb.com/
[6508-0005]: https://atom.io/
[6508-0006]: http://emmet.io/download/