Skip to content

Instantly share code, notes, and snippets.

@m4r71n
Created January 29, 2014 21:00
Show Gist options
  • Save m4r71n/d93fe7fdca3f72e64a52 to your computer and use it in GitHub Desktop.
Save m4r71n/d93fe7fdca3f72e64a52 to your computer and use it in GitHub Desktop.
removes whitespaces and linebreaks and creates a new entry like "ABC-123: Title of the issue"
[Commands]
1\Name=JIRA \"ISSUE: TITLE\"
1\Match=^\\s*([A-Z]+\\-[0-9]+)\\s+(.+)$
1\Window=- Mozilla Firefox
1\Command="copyq eval \"add( str(input()).trim().replace(/^([A-Z]+\\-[0-9]+)\\\\\\\\s+(.+)$/, '$1: $2') )\""
1\Separator=\\n
1\Input=text/plain
1\Automatic=true
1\Icon=\xf0c1
size=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment