Sublime Text 2 multiple line edit

Use multiple cursors and column selection.

In your case you just need to place the cursors at the beginning of each column containing the "words".

Linux and Windows

  • Click & drag to select column(s): Shift + RightMouseBtn
  • Add other column(s) to selection by click & drag: Ctrl + Shift + RightMouseBtn
  • Subtract column(s) from the selection: Alt + Shift + RightMouseBtn
  • Add individual cursors: Ctrl + LeftMouseBtn
  • Remove individual cursors: Alt + LeftMouseBtn

Mac

  • Click & drag to select column(s): Option⌥ + LeftMouseBtn
  • Add other column(s) to selection by click & drag: Option⌥ + LeftMouseBtn
  • Subtract column(s) from the selection: Cmd⌘ + Option⌥ + shift + LeftMouseBtn
  • Add individual cursors: Cmd⌘ + LeftMouseBtn
  • Remove individual cursors: Cmd⌘ + Option⌥ + shift + LeftMouseBtn

Then edit as needed. In your case, type 0, x.

You could also navigate as needed to the end or beginning of the words, select the words and surround with quotes or parenthesis, and so on.


References:

  • Column selection

Highlight the lines and use:

  • Windows: Ctrl+Shift+L
  • Mac: Cmd ⌘+Shift+L

You can then move the cursor to your heart's content and edit all lines at once.

It's also called "Split into Lines" in the "Selection" menu.


Worked for me on OS X + Sublime build 3083:

OPTION (ALT) + select lines