Posted on

multiple cursors

nice video by Dave Leeds.

surprisingly many people don’t know how to do it.

  1. move caret to next word with selection = ctrl shift right ( ⬆ right)
  2. add selection for next occurrence = alt J (^ G)
  3. find next and move to next occurrence = F3 ( G)
  4. put cursor = alt shift click
  5. Hold mouse middle(wheel) button and drag mouse
  6. When you are finding in the document you can click – select all occurences and it will spawn multicursor for all of them so you can edit. This is very powerfull with regexes!