I have a simple but annoying problem with Sublime text 2. I am writing a python script to parse through a large dataset, and I want to store this information in a database. the dataset comes with some pre-created SQL statements.
however, I can't simply copy paste them into the script because they are each on a newline. Is there a sublime shortcut for stripping these.
tl;dr
how can I turn this:
record_id serial PRIMARY KEY,
vin_id integer,
plate_id integer,
me_id integer,
etc.
into this
record_id serial PRIMARY KEY, vin_id integer, plate_id integer, me_id integer
using a simple copy/paste or similar command in sublime text 2?