Skip to content

Instantly share code, notes, and snippets.

@gooddadmike
Created September 9, 2019 13:06
Show Gist options
  • Save gooddadmike/849737a2b4ac821e8892e8bc9f38a42c to your computer and use it in GitHub Desktop.
Save gooddadmike/849737a2b4ac821e8892e8bc9f38a42c to your computer and use it in GitHub Desktop.
CopyQ Change from '' to '
copyq:
function modifyText(text)
{
return text.replace(/''/g, "'");
}
if (!copy())
abort()
var text = str(clipboard())
var newText = modifyText(text)
if (text == newText)
abort();
copy(newText)
paste()
// I set my shortcut to [Ctrl]+[Alt]+[End] (Numpad 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment