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

Jacko picture Jacko · Feb 17, 2016 · Viewed 44.3k times · Source

I want to be able to edit every line of my data simultaneously, for instance put quotations in front of every line. I am wondering what the key combination is that will enable me to do this.

Answer

Eric Hotinger picture Eric Hotinger · Feb 17, 2016

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.