Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Insert Cursor at Beginning of Each Line SelectedNew to Visual Studio Code? Get it now.
Insert Cursor at Beginning of Each Line Selected

Insert Cursor at Beginning of Each Line Selected

Kai Wood

|
3,265 installs
| (2) | Free
Inserts multiple cursors at the beginning of each selected line – instead of inserting them at the end.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Insert Cursor at Beginning of Each Line Selected

Features

This extension overwrites the shortcut for editor.action.insertCursorAtEndOfEachLineSelected (shift+alt+i) and will insert the cursors at the start of the selection, instead of the end.

Extension Settings

If you don't like the opinionated shortcut of this extension and like to keep VSCodes default, you can either unbind the extensions one like this:

{
    "key": "shift+alt+i",
    "command": "-insert-cursor-at-beginning-of-each-line-selected.insertCursors"
}

or rebind the default one:

{
    "key": "shift+alt+i",
    "command": "editor.action.insertCursorAtEndOfEachLineSelected",
    "when": "editorTextFocus"
}

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft