
"Paste once, run once." — Trimmy is a Raycast extension for cleaning copied shell snippets, wrapped URLs, and path-like text so they are easier to run or paste.
Trimmy was created by steipete.
By default, Trimmy uses this order:
You can disable that behavior per command with the Prefer Selection / Finder preference if you want strict clipboard-only behavior.
The current implementation ports the most useful Trimmy features for Raycast:
$ and #Preview Trim uses a Raycast view command to show the original input and trimmed output, inspired by the selection-preview pattern used in Raycast's JSON Format extension.
Clean clipboard text by flattening multi-line commands into a runnable one-liner.
Clean text and immediately paste the result into the frontmost app.
Preview the trimmed result before copying or pasting it.
Trim and Copy Raycast command for on-demand cleaningTrim and Paste command to clean and immediately paste into the frontmost appTrim and Preview command to inspect the result before copying or pastingTextCleaner heuristics