The Editing Bar Series: Control When and How Your Snippets Expand with Delimiters

Delimiters control when TextExpander Snippets expand, so abbreviations only trigger when you mean them to. See where to find delimiter settings, how a space or Return key works as a trigger, and when to use one.

Green pedestrian crossing signal with the TextExpander logo

You’re typing and you unexpectedly hear a “pop.” A snippet expanded. But did you want it to? If you’ve accidentally typed a snippet- oops!

To make sure you only expand snippets purposefully, you can use delimiters to control when your snippets expand.

Delimiters are an extra key, such as a space or return key, which triggers the expansion of your snippet. You can choose multiple delimiters to act as triggers.

When you type without a delimiter, your snippet will expand when you finish typing your abbreviation. If, for example, you add a space key delimiter, your snippet won’t expand until you’ve typed your abbreviation and hit the space key.

Where to Find Delimiters

Open TextExpander > Preferences > Set Delimiters

TextExpander for Mac Expansion preferences with the Set Delimiters button circled

You’ll see a ready-made list of delimiters. You can add more by dragging from the list above. When you’re happy with your selection click ‘OK’.

TextExpander delimiter settings showing available keys and the chosen delimiters: space, tab, return and enter

How to Use Delimiters

You’ll need to hit one of your selected delimiter keys after typing your abbreviation for your snippet to expand. No key press, no snippet.



If you want your delimiter to appear at the end of your expanded snippet, you can select ‘keep delimiter’. If you don’t, just hit ‘abandon delimiter’.



If your delimiter is the return key, you might not want a return after every snippet expansion, so you’d select ‘abandon delimiter’. If you your delimiter is the space key, you’ll probably want to keep that space to save you from pressing the space key again.

TextExpander Expansion preferences menu with options to expand immediately when typed, at delimiter (keep delimiter) or at delimiter (abandon delimiter)

The Editing Bar

You’ll spot the option to keep or abandon delimiters in the Editing Bar.

TextExpander Snippet editor cursor menu with Keep Delimiter and Abandon Delimiter options circled

This option in the Editing Bar allows you to change your usual delimiter setting on a per snippet basis. If you’re writing HTML, you may wish to ‘Abandon Delimiter’ so you can expand HTML snippets one after the other, without needing to remove extra spaces or return presses.

Alternatively, when creating a snippet for directions you could ‘Keep Delimiter’ so, after hitting return, your snippet expands and you can continue writing on a new line.

Keep reading

View all posts →
A week of a product manager’s Snippets, Monday standup to Friday update, each product management template expanding from a short abbreviation Explore TextExpander Your week, pre-written: product manager templates you can use anywhere you type TextExpander shown as part of Lenny’s Product Pass, with a weekly update Snippet expanding from ;lenny Explore TextExpander TextExpander is now part of Lenny’s Product Pass What is AutoText: the same saved sentence inserted in Word, Outlook, a phone keyboard, and an EHR note, each labeled with its auto text name Explore TextExpander What is AutoText? How auto text works in Word, Outlook, phones, and EHRs
The Editing Bar Series: Control When and How Your Snippets Expand with Delimiters