Cab

Snippets

Type a short trigger and Cab expands it to the full text — anywhere you can type.

Snippets turn a short trigger into a longer block of text. Define them once and Cab expands them inline in any app — Mail, Slack, your editor, a browser field.

How expansion works

Every snippet has a shortcut (e.g. sgtm). Type the configured trigger character followed by the shortcut, then a word boundary — a space, punctuation, or Return:

;sgtm␣   →   Sounds good to me␣

The trigger is ; by default. You can change it to !, :, /, or turn inline expansion off entirely in Settings → Snippets.

The boundary key still does its normal job after expansion: a space stays a space, and Return still submits in chat apps — Cab swaps the text in first, then lets the keystroke through against the expanded content.

Expansion only fires on a real word boundary, so a shortcut like pro inside ;profile won't trigger early — type the trigger again to start a fresh shortcut.

Managing snippets

Open the Snippets manager from the menu-bar icon (or search "Snippets" in the launcher). Each snippet has:

  • Title — what you search for in the launcher.
  • Shortcut — the inline trigger token (letters, digits, -, _). Optional; leave it blank for a launcher-only snippet.
  • Text — what gets inserted.

Titles and shortcuts are each unique. The editor flags duplicates and shows a live preview of exactly what you'd type to expand it.

From the launcher

Snippets are also searchable in the launcher by title — select one and it's copied and pasted into wherever you were typing. Useful for longer snippets you don't want a memorized shortcut for.

Backup

Settings → General → Backup exports all your snippets (and settings) to a TOML file, and imports them back on another Mac.

On this page