How can I put cursor on every line in Sublime Text?

On a mac, you can highlight the lines you wish to edit and use CMDShiftL, or ctrlShiftL on Windows.


On Mac

  1. cmd+A (Select all)
  2. cmd+shift+L (Split selection into lines)
  3. shift+2 (Surround selection with quotes)
  4. esc (Escape)

Multiple cursors


Four steps:

  1. Select all the text: CTRL A
  2. Activate multi-cursors: CTRL (or CMD on Mac) SHIFT L
  3. Press the Home key to move all cursors to the front of the line
  4. Press the " quote key to insert the quote.

Using the Home End and CTRL + left | right arrow keys is handy when managing multiple cursors.