Skip to main content

Overview

Snippet Expansion (also known as text expansion) lets you assign custom keyboard shortcuts to snippets that automatically expand when you type them. Type a short abbreviation like /email, and it instantly expands into your full email template-anywhere on your computer. This is Snippets AI’s TextExpander-style feature, supercharged with team awareness and workspace intelligence.

Why Snippet Expansion Matters

Stop typing the same things repeatedly:
  • Speed: Type 5 characters instead of 500
  • Consistency: Same text every time, no typos
  • Universal: Works in every app (email, Slack, code editors, browsers)
  • Muscle Memory: Common snippets become automatic
  • Productivity Multiplier: Save hours per week

How It Works

Setting Up a Shortcut

1. Open or Create Snippet

Navigate to the snippet you want to assign a shortcut to.

2. Set Shortcut

In snippet editor:
  • Find “Shortcut” or “Abbreviation” field
  • Enter your shortcut (e.g., /hello)
  • Save snippet

3. Use Shortcut Anywhere

In any application:
  1. Type the shortcut: /hello
  2. Shortcut is replaced with full snippet content
That’s it! The magic happens automatically.

Shortcut Format

Recommended Format:
Examples:
  • /email - Email template
  • /sig - Email signature
  • /addr - Address
  • /meet - Meeting notes template
  • /debug - Debug log snippet
Why / prefix?
  • Unlikely to type naturally in writing
  • Easy to remember and type
  • Visually distinct
  • Doesn’t conflict with normal punctuation
Alternatives:
  • :shortcut: - Slack-style
  • //shortcut - Comment-style
  • .shortcut - Dot prefix
  • @shortcut - Mention-style
Choose a convention and stick with it.

Trigger Keys

Expansion happens when you type: Default Triggers:
  • Space - Most common
  • Enter / Return
  • Tab
Configurable: Settings → Expansion → Trigger Keys Some users prefer expansion only on Tab to avoid accidental expansions.

Team-Specific Shortcuts

Important: Shortcuts are team-specific and workspace-specific.

How It Works

When you’re in Team 1:
  • Typing /hello expands to “Hello Team 1”
Switch to Team 2:
  • Typing /hello now expands to “Hello Team 2”
Switch to Workspace B:
  • /hello may not work (different workspace)
  • Or expands to different snippet if defined there

Why Team-Specific?

This design allows:
  • Context-Aware Expansion: Same shortcut, different content per context
  • No Conflicts: Each team can define own shortcuts
  • Flexibility: Reuse memorable shortcuts across teams

Best Practices

Unique Shortcuts for Universal Snippets: If you want a shortcut to work the same way everywhere, use a unique shortcut name that you only define once.
Document Team Shortcuts: Maintain a list of shortcuts for each team so members know what’s available.
Namespace by Purpose: Use prefixes like /api-, /ui-, /prompt- to group related shortcuts.

Example Use Cases

Email Templates

Shortcut: /followup
Type /followup → Full email appears → Fill in bracketed fields.

Code Snippets

Shortcut: /apiget
Type /apiget in VS Code → Full API call appears.

Frequently Used Commands

Shortcut: /docker
Type /docker in terminal → Command appears, press Enter to run.

Meeting Notes

Shortcut: /meet
Type /meet in Notion → Template appears → Fill in details.

Customer Support Responses

Shortcut: /thanks
Type /thanks in Intercom → Response ready.

Personal Information

Shortcut: /addr
Shortcut: /phone
Fill out forms in seconds.

Prompt Engineering

Shortcut: /sys
Type /sys in ChatGPT → System prompt inserted.

Advanced Features

Dynamic Fields

Some snippet managers support dynamic fields (variables): Date/Time:
Expands to:
Clipboard:
Expands and includes current clipboard content. Cursor Position:
Cursor positioned at {cursor} after expansion. Check Snippets AI documentation for supported dynamic fields.

Multi-Line Expansions

Shortcuts work with multi-line content:
All formatting preserved.

Nested Shortcuts

Expand one shortcut that contains another:
(Check if Snippets AI supports nested expansion)

Managing Shortcuts

View All Shortcuts

Settings → Snippets → Shortcuts See list of all active shortcuts:
  • Shortcut abbreviation
  • Snippet name
  • Team/Workspace
  • Last used

Edit Shortcuts

Change shortcut without changing snippet:
  1. Open snippet
  2. Change shortcut field
  3. Save
Old shortcut stops working; new one activates immediately.

Disable Expansion

Temporarily disable snippet expansion: Method 1: Global Toggle
  • Settings → Expansion → Enable Snippet Expansion (toggle off)
Method 2: Per-App Disable
  • Settings → Expansion → Excluded Apps
  • Add apps where expansion shouldn’t work (e.g., password managers)

Shortcut Conflicts

If two snippets have same shortcut in same team:
  • Warning appears when saving
  • Last-saved shortcut takes precedence
  • Resolve by changing one shortcut

Best Practices

Start with High-ROI Shortcuts: Identify things you type 5+ times per day. Those get shortcuts first.
Memorable Shortcuts: Use intuitive abbreviations. /email is better than /e1.
Consistent Prefix: Use / for all shortcuts. Makes them easy to remember and type.
Document Shortcuts: Keep a “Shortcuts Cheat Sheet” snippet that lists all your shortcuts.
Review Periodically: Check Settings → Shortcuts monthly. Remove unused shortcuts, add new ones.

Snippet Expansion vs. Quick Access

When to Use Snippet Expansion

Use shortcuts when:
  • Typing same thing repeatedly
  • Need instant expansion mid-sentence
  • Muscle memory workflow (type without thinking)
  • Short, frequently-used snippets
Examples:
  • Email signatures
  • Personal info (address, phone)
  • Code boilerplate
  • Common responses

When to Use Quick Access

Use Quick Access when:
  • Snippets change frequently
  • Need to browse/search before inserting
  • Longer, less-frequent snippets
  • Want to preview before inserting
Examples:
  • Complex code snippets
  • Long-form templates
  • Infrequent use cases
  • Exploratory browsing

Hybrid Approach

Use both:
  • Top 20 snippets: Assign shortcuts (muscle memory)
  • Everything else: Use Quick Access (search-driven)

Troubleshooting

Shortcut Not Expanding

If typing shortcut doesn’t expand:
  1. Verify Shortcut Set: Open snippet, check shortcut field is filled
  2. Check Team Context: Are you in the right team/workspace?
  3. Expansion Enabled: Settings → Expansion → Enabled?
  4. Trigger Key: Did you press Space/Enter after typing?
  5. App Permissions: Mac: System Settings → Privacy → Accessibility → Snippets AI

Expansion in Wrong Places

If snippets expand when you don’t want:
  1. Change Trigger: Use Tab-only expansion (less accidental)
  2. Exclude Apps: Settings → Expansion → Excluded Apps
  3. Longer Shortcuts: Use longer abbreviations (less likely to type accidentally)

Conflict with Other Apps

If using TextExpander, Alfred Snippets, or similar:
  • Disable Others: Use only Snippets AI expansion (avoid conflicts)
  • Or Different Prefixes: Snippets AI uses /, others use ::
  • Coordinate: Ensure no overlapping shortcuts

What’s Next

Quick Access Overview

Learn Quick Access as an alternative to shortcuts for longer snippets

Switching Between Teams

Understand team context for snippet expansion

Creating Teams

Organize shortcuts by team for different contexts