I can use the following macro:
[ { "args": null, "command": "split_selection_into_lines" }, { "args": { "by": "characters", "forward": true }, "command": "move" }, { "args": { "characters": "," }, "command": "insert" }, { "args": { "extend": false, "to": "eof" }, "command": "move_to" } ]
save to comma.sublime-macro and change key bindings - user
{"keys": ["super +"], "Command": "run_macro_file", "arg": {"file": "Packages / user / comma.sublime-macro"}},
PD: you need the preium to highlight your lines to add a comma.
Robles Aug 05 '16 at 2:53 on 2016-08-05 02:53
source share