75

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.

147

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.

10

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

  • 1
    If you happen to use Loom, quit that program because it hijacks this hotkey combo on mac. – Abram Aug 29 at 14:21
1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.