Search code examples
visual-studio-codekeyboard-shortcuts

How to get multiple cursors in VS Code at beginning or end of lines?


In Atom, you are able to select multiple lines then hit Command + Shift + L followed by the left arrow key or the right arrow key to put multiple cursors at the beginning or end of each selected line.

When trying to do the same command in VS Code it doesn't work? How can I achieve the same behavior in VS Code?

Atom Multicursor Lines


Solution

  • Shift+Alt+I will put cursors on each line end.

    For the beginnings, I guess you can just Ctrl+Alt+Down at the beginning to add more cursors.