VS Code Window – Multi-cursor and selection Cheat Sheet

Alt+ClickInsert cursor
Ctrl+Alt+ ↑ / ↓Insert cursor above / below
Ctrl+UUndo last cursor operation
Shift+Alt+IInsert cursor at end of each line selected
Ctrl+LSelect current line
Ctrl+Shift+LSelect all occurrences of current selection
Ctrl+F2Select all occurrences of the current word
Shift+Alt+→Expand the selection
Shift+Alt+←Shrink selection
Shift+Alt + (drag mouse)Column (box) selection
Ctrl+Shift+Alt (arrow key)Column (box) selection
Ctrl+Shift+Alt +PgUp/PgDnColumn (box) selection page up/down

Leave a Reply

Your email address will not be published. Required fields are marked *