Add Cursor Above/Below in VS Code

From the VS Code Shortcuts cheat sheet · Multi-cursor & Selection · verified Jul 2026

Add Cursor Above/Below

Add cursor to line above or below

text
Ctrl+Alt+↑/↓ (Windows)
⌘+⌥+↑/↓ (Mac)
💡 Edit multiple lines simultaneously
⚡ Create vertical selections
🔍 Useful for repetitive edits
multi-cursor

More VS Code tasks

Back to the full VS Code Shortcuts cheat sheet