A lot of times I want to copy some error message and paste it into some web form indented by 2 or 4 spaces. Is there a quick way to modify the contents of my copy-paste buffer to add an N-space indent?
Currently I open vim, paste into vim, indent, copy back out of vim, paste into the destination, then close vim.
s/^/ /g
and a script to paste from clipboard, call sed, copy to clipboard.