Skip to content

Instantly share code, notes, and snippets.

@hluk
Last active June 2, 2019 05:43
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/aa7d006a757f5f0b24fb51d1a68577cc to your computer and use it in GitHub Desktop.
Save hluk/aa7d006a757f5f0b24fb51d1a68577cc to your computer and use it in GitHub Desktop.
CopyQ Command: Add blank line when copied
[Command]
Automatic=true
Command="
copyq:
var text = str(data(mimeText))
if (!text)
abort()
text += '\\n\\n'
setData(mimeText, text)
var html = str(data(mimeHtml))
if (html)
copy(mimeText, text, mimeHtml, html)
else
copy(mimeText, text)"
Icon=\xf46d
Name=Add Blank Line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment