How can I put cursor on every line in Sublime Text?
Solution 1:
Four steps:
- Select all the text: CTRL A
- Activate multi-cursors: CTRL (or CMD on Mac) SHIFT L
- Press the Home key to move all cursors to the front of the line
- Press the " quote key to insert the quote.
Using the Home End and CTRL + left | right arrow keys is handy when managing multiple cursors.
Solution 2:
On a mac, you can highlight the lines you wish to edit and use CMDShiftL, or ctrlShiftL on Windows.
Solution 3:
On Mac
- cmd+A (Select all)
- cmd+shift+L (Split selection into lines)
- shift+2 (Surround selection with quotes)
- esc (Escape)
Solution 4:
On Windows
CTRL+A (Select all Data)
CTRL+Shift+L (Cursor will appear on each line)
Shift+ (right or left key) (move the cursor left or right)
Press ESC to remove the focus.