pzformat package
A format utility base on the sprintf.js.
Usage
1. Copy or cut your format string.(Just put it into your clipboard)
eg.
INSERT INTO Persons (id, name, gender) VALUES (%s, %s, %s);
2. Select all data which you want to format.
eg.
1 Jack male
2 Mary female
3 Tom male
cmd+shift+o
,cmd+shift+f
]
3. Press [All done.