Skip to content

Instantly share code, notes, and snippets.

@hluk
Last active June 1, 2019 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hluk/fa557274759b001fec7904bc0aa7a8a8 to your computer and use it in GitHub Desktop.
Save hluk/fa557274759b001fec7904bc0aa7a8a8 to your computer and use it in GitHub Desktop.
CopyQ Command: Paste multiple items separated by a blank line
[Command]
Command="
copyq:
hide()
var items = selectedItemsData()
var text = ''
for (var i in items) {
var itemText = str(items[i][mimeText]).trim()
text += itemText + '\\n\\n'
}
copy(text)
paste()"
Icon=\xf46d
InMenu=true
Name=Paste Separated
Shortcut=return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment