Parameter for Smart Selection Action: Copy

4 views
Skip to first unread message

Robbie Gates

unread,
Apr 30, 2026, 11:51:07 PM (3 days ago) Apr 30
to iterm2-discuss
Hi George (and thanks as always for an awesome tool).

Is it possible for the Smart Selection Action "Copy" to get a parameter field like "Send Text..." or "Run Command..." have?

My use case is I'd like to set it to `\(matches[1])` so I can copy just part of the Smart Selection. I could do this with `Run Command...` and pbcopy (thanks Gemini for noticing this), regex lookahead isn't ideal because the prefix in my case has a `*` in it (which yes I could bound for practical purposes) - but it feels like Copy being able to take a value is a natural extension?

 - Robbie
Reply all
Reply to author
Forward
0 new messages