Clipboard before
copied from docs
fn paste() {
let text = clipboard.read();
let clean = dedent(text);
clipboard.write(clean);
}
Option+V strips the common indentation from your clipboard and pastes the result as plain text. Perfect for moving code, notes, prompts, and Markdown between apps without dragging extra whitespace along.
curl -fsSL https://raw.githubusercontent.com/doggy8088/dedent-paste/main/install.sh | bash
fn paste() {
let text = clipboard.read();
let clean = dedent(text);
clipboard.write(clean);
}
fn paste() {
let text = clipboard.read();
let clean = dedent(text);
clipboard.write(clean);
}
The page should feel like the product: fast, precise, and made for people who move text all day. One shortcut removes the messy shared indent while leaving your normal Command+V untouched.
Karabiner-Elements maps Option+V to the helper, so dedented paste feels like a native paste command.
GitHub Releases publish cargo-dist installers, platform archives, and checksums for common targets.
The clipboard is read as text, written back as UTF-8, and pasted through macOS System Events.