Taking on new clients for Elixir and web development.
Mike Zornek

My Favorite TextExpander Shortcut Snippets

Posted on

I’ve been a long time TextExpander user. You don’t know of TextExpander? Shame!

TextExpander lets you instantly insert snippets of text from a repository of emails, boilerplate and other content, as you type – using a quick search or abbreviation.

My common shortcut snippets include:

  • Email: z@zl into zorn@zornlabs.com and m@m.com for mike@mikezornek.com.
  • Date: ddate
  • Time: ttime – very handy while testing UI as a piece of dynamic content, yet descriptive and ordered.
  • Common Google Terms: -ep into Elixir Phoenix.
  • Phone Numbers: cphone and hphone into the real phone numbers.
  • Support Email Replies – when I did a lot of that thing.
  • URL to my meeting calendar: -meeting into https://savvycal.com/zorn/chat
  • Common Xcode Comments: -mark into:
// MARK: - Outlets
// MARK: - Properties
// MARK: - Life Cycle
// MARK: - Methods
// MARK: - Private
  • SwiftLint Disables:
// swiftlint:disable rule_name
[CLIPBOARD]
// swiftlint:enable rule_name

I added a new one today, for the common need to convert a title-like string into a filename-friendly one.

"%pasteboard".toLowerCase().replace(/ /g, "-");

Thus expanding -urlp into “Nurturing Your Community During Lock Down” (the clipboard) into nurturing-your-community-during-lock-down.

GIF demo of TextExpander snippet.

I’m on the hunt for more too. Let me know if you have any recommendations!


About the Author. Mike Zornek is a developer and teacher focusing on product design and development with a heavy focus on Elixir and LiveView. In between his projects, Mike helps other teams through consulting. During off hours, he enjoyed watching Phillies baseball and playing relaxing video games.

Hopefully, you found interest in my scribbles. If you have commentary or a response, I'd love to hear it.