Skip to content

Copy Selected Text to Clipboard

Mod by jspoynor

Copies terminal text to the clipboard when a mouse selection is released, with a Copied toast.

Screenshot of Copy Selected Text to Clipboard

What it does

A 0px block at the bottom of the window, invisible until used. After a left-drag or double or triple click in a Herdr terminal is released, the selected text is copied and a short "Copied" toast appears for 1.5 seconds.

It needs no key. Plain clicks, modified clicks and right or middle clicks do nothing. The mod is macOS only and uses osascript to check when the mouse button comes up.

Highlight text in any Herdr terminal and it's copied the moment you let go of the mouse. No ⌘C, no right-click menu. Drag across a command, a path, an error or an agent's answer, release, and paste it anywhere. Double-click copies a word and triple-click copies a line. This is how the Herdr TUI already works (pictured: its "copied to clipboard" popup), and this mod brings the same behavior to the Herdr app. Each copy shows a short "Copied" notification so you know it worked, and nothing else…

From the author's RECIPE.md

Good for

Needs

macOS osascript

Similar mods

Same job, overlapping tags and integrations.

All of Clipboard, text & voice

Quote Reply

by daniel7an

Pastes the selected terminal text as a Markdown quote into the input, ready for a reply.

Clipboard, text & voiceKeyboard shortcuts01 mo ago

tmux / WezTerm-style Copy Mode

by zamonia500

Opens a terminal's screen and scrollback read-only in nvim, so you can select and yank with vim keys.

Clipboard, text & voiceKeyboard shortcuts21 mo ago

Copy mode

by shreshthkapai

Adds a tmux-style copy mode with vi keys to move, search, select and copy terminal text.

Clipboard, text & voiceKeyboard shortcuts010 days ago

Copy Pane

by B0llieball

Copies all of a terminal's screen and history to the macOS clipboard on Cmd+A.

Clipboard, text & voiceKeyboard shortcuts024 days ago

Quote Selection

by nishikawasasaki

Pastes the selected terminal text into an agent's draft as a quote, without sending it.

Clipboard, text & voiceKeyboard shortcuts01 mo ago

Herdr Copy Mode

by willfish

Adds Vim-style keys to select and copy terminal output in the pane where it appeared.

Clipboard, text & voiceKeyboard shortcuts215 days ago

Corgi · Dictate

by saefty

Records speech on a Mac, transcribes it locally and pastes the text into the focused terminal.

Clipboard, text & voiceKeyboard shortcuts14 days ago

Copy on select

by DarkoKuzmanovic

Copies terminal text to the clipboard when you Shift-drag to select it and the pointer stops.

Clipboard, text & voice111 days ago