Text into Array
Join newline-separated data into an array of strings
Before
Hello
This
Is
Helix
After
["Hello", "This", "Is", "Helix"]
Preview
Command
%<alt-s>ms"<alt-J>i,<esc>xms[
%selects full file<alt-s>split selection into multiple selections on newlinesms"surrounds each word with quotes<alt-J>i,join lines inside selection, select the inserted space, and insert ","s<esc>xms[surround by "[]"