Copy condensed SQL (OS X)

1 Point

Strives to mimic the behaviour of SHIFT+ALT+CMD+C in TextMate, where "condensed" SQL is placed on the clipboard.

This snippet condenses the current paragraph and is triggered by . Improvement suggestions welcome!

(You might have to replace "^M" manually, with

let @s = "vip:j^M:.w ! perl -pe 'chomp' | pbcopy^M^Mu"